Implements a value holder. In Wee this is useful for backtracking the reference assigned to an instance variable (not the object itself!). An example where this is used is the @__decoration attribute of class Wee::Component.

Methods
new restore_snapshot take_snapshot
Attributes
[RW] value
Public Class methods
new(value=nil)
# File lib/more/facets/snapshot.rb, line 140
  def initialize(value=nil)
    @value = value
  end
Public Instance methods
restore_snapshot(value)
# File lib/more/facets/snapshot.rb, line 148
  def restore_snapshot(value)
    @value = value
  end
take_snapshot()
# File lib/more/facets/snapshot.rb, line 144
  def take_snapshot
    @value
  end