Class: Hash
Instance Method Summary collapse
-
#to_udat(tag = nil) ⇒ Object
Casts the Hash to an Udat::Collection object, optionally with a given tag.
Instance Method Details
#to_udat(tag = nil) ⇒ Object
Casts the Hash to an Udat::Collection object, optionally with a given tag. The Udat::Collection object is marked to be unordered.
1326 1327 1328 |
# File 'lib/udat.rb', line 1326 def to_udat(tag = nil) Udat::Collection.new(tag, self.to_a).unordered! end |