lib/usable/struct.rb in usable-3.5.0 vs lib/usable/struct.rb in usable-3.6.0

- old
+ new

@@ -3,13 +3,9 @@ Class.new do extend Usable self.usables = Usable::Config.new(attributes) - define_singleton_method(:inherited) do |child| - child.usables = usables.clone - end - attributes.keys.each do |key| define_method(key) { @attrs[key] } define_method("#{key}=") { |new_val| @attrs[key] = new_val } end