class RDF::Literal::UnsignedLong

unsignedLong is derived from nonNegativeInteger by setting the value of maxInclusive to be

  1. The base type of unsignedLong is nonNegativeInteger.

@see www.w3.org/TR/2004/REC-xmlschema-2-20041028/#unsignedLong

Constants

DATATYPE
GRAMMAR

Public Instance Methods

valid?() click to toggle source
Calls superclass method RDF::Literal::NonNegativeInteger#valid?
# File lib/rdf/xsd/integer.rb, line 147
def valid?
  super && @object >= 0 && @object <= 18446744073709551615
end