class RDF::Literal::Long
long is derived from integer by setting the value of maxInclusive to be 9223372036854775807 and minInclusive to be -9223372036854775808.
The base type of long is integer. @see www.w3.org/TR/2004/REC-xmlschema-2-20041028/#long
Constants
- DATATYPE
Public Instance Methods
valid?()
click to toggle source
Calls superclass method
# File lib/rdf/xsd/integer.rb, line 64 def valid? super && @object >= -9223372036854775808 && @object <= 9223372036854775807 end