class RDF::Literal::Double
Public Instance Methods
to_sxp()
click to toggle source
Returns the SXP representation of this object.
@return [String]
# File lib/sparql/algebra/extensions.rb, line 291 def to_sxp case when nan? then 'nan.0' when infinite? then (infinite? > 0 ? '+inf.0' : '-inf.0') else canonicalize.to_s.downcase end end