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