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.
1293 1294 1295 |
# File 'lib/udat.rb', line 1293 def to_udat(tag = nil) Udat::Collection.new(tag, self.to_a).unordered! end |