class RDF::List
Public Instance Methods
Source
# File lib/rdf/n3/extensions.rb, line 36 def to_sxp(**options) to_a.to_sxp_bin.to_sxp(**options) end
Returns an S-Expression (SXP) representation
@return [String]
Source
# File lib/rdf/n3/extensions.rb, line 28 def to_sxp_bin to_a.to_sxp_bin end
Transform Statement into an SXP @return [Array]
Source
# File lib/rdf/n3/extensions.rb, line 22 def variable? to_a.any?(&:variable?) end
A list is variable if any of its members are variable?
@return [Boolean]