Methods
restore_snapshot
take_snapshot
to_openobject
to_xml
Included Modules
Public Instance methods
[ + ]
# File lib/more/facets/snapshot.rb, line 195 def restore_snapshot(snap) replace(snap) end
[ + ]
# File lib/more/facets/snapshot.rb, line 194 def take_snapshot() dup end
Convert a Hash into an OpenObject.
[ + ]
# File lib/more/facets/openobject.rb, line 241 def to_openobject OpenObject[self] end
[ + ]
# File lib/more/facets/xmlhash.rb, line 67 def to_xml(root='root') Blow::Hash2Xml.convert(root, self) end