lib/structure/double.rb in structure-1.1.0 vs lib/structure/double.rb in structure-1.1.1

- old
+ new

@@ -14,15 +14,9 @@ end klass.module_eval do def initialize(data = {}) data.each do |key, value| - unless value.is_a?(Structure) || - (defined?(::RSpec::Mocks::Double) && - value.is_a?(::RSpec::Mocks::Double)) - value.freeze - end - instance_variable_set :"@#{key}", value end end attribute_names.each do |name|