lib/rydux/state.rb in rydux-0.9.1 vs lib/rydux/state.rb in rydux-0.9.2

- old
+ new

@@ -1,12 +1,11 @@ require 'ostruct' module Rydux class State < OpenStruct def initialize(state) - state = state.clone super(state) - @structure = state + @structure = state.clone end def to_s @structure.inspect end