Class: Wee::State::Snapshot

Inherits:
Struct show all
Defined in:
lib/wee/state.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Wee::StructSnapshotMixin

#restore_snapshot, #take_snapshot

Instance Attribute Details

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



12
13
14
# File 'lib/wee/state.rb', line 12

def object
  @object
end

#snapshotObject

Returns the value of attribute snapshot

Returns:

  • (Object)

    the current value of snapshot



12
13
14
# File 'lib/wee/state.rb', line 12

def snapshot
  @snapshot
end