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