Class: RDF::Literal::Float

Inherits:
Double show all
Defined in:
vendor/bundler/ruby/2.1.0/bundler/gems/rdf-xsd-38f8c208373d/lib/rdf/xsd/double.rb

Overview

Note that in XML Schema, Float is not really derived from Double, but implementations are identical in Ruby

See Also:

Constant Summary

DATATYPE =
XSD.float

Constants inherited from Double

Double::GRAMMAR

Constants inherited from RDF::Literal

FALSE, TRUE, ZERO

Instance Attribute Summary

Attributes inherited from RDF::Literal

#datatype, #language

Method Summary

Methods inherited from Double

#<=>, #abs, #canonicalize!, #ceil, #finite?, #floor, #infinite?, #initialize, #nan?, #nonzero?, #round, #to_s, #zero?

Methods inherited from Numeric

#*, #+, #+@, #-, #-@, #/, #<=>, #==, #abs, #ceil, #floor, #round, #to_d, #to_f, #to_i, #to_r

Methods inherited from RDF::Literal

#==, #anonymous?, #canonicalize!, #comperable_datatype?, #eql?, #has_datatype?, #has_language?, #hash, #initialize, #inspect, #literal?, #object, #plain?, #simple?, #to_base, #to_s, #valid?, #validate!, #value, #value_hash

Methods included from Term

#<=>, #==, #aggregate?, #compatible?, #eql?, #escape, #evaluate, #term?, #to_base, #to_term

Methods included from SPARQL::Algebra::Expression

cast, #constant?, #evaluate, extension, extensions, for, new, open, #optimize, parse, register_extension, #to_sxp_bin, #variable?

Methods included from Value

#anonymous?, #canonicalize, #canonicalize!, #constant?, #graph?, #inspect, #inspect!, #invalid?, #iri?, #list?, #literal?, #node?, #resource?, #statement?, #term?, #to_nquads, #to_ntriples, #to_rdf, #to_term, #type_error, #uri?, #valid?, #validate!, #variable?

Constructor Details

This class inherits a constructor from RDF::Literal::Double