lib/simplestate/null_state.rb in simplestate-2.0.2 vs lib/simplestate/null_state.rb in simplestate-2.0.3
- old
+ new
@@ -3,10 +3,9 @@
# Avoid chicken and egg problem by mimicing rather than inheriting from State
attr_reader :holder
def initialize(holder: nil, opts: {})
@holder = holder
- State.list[self.symbol]= self
end
def self.list
{}
end