class RDF::Literal::Int
int is derived from long by setting the value of maxInclusive to be 2147483647 and minInclusive to be -2147483648. The base type of int is long.
Constants
- DATATYPE
Public Instance Methods
valid?()
click to toggle source
Calls superclass method
RDF::Literal::Long#valid?
# File lib/rdf/xsd/integer.rb, line 77 def valid? super && @object >= -2147483648 && @object <= 2147483647 end