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