lib/attributes.rb in attributes1-5.0.2 vs lib/attributes.rb in attributes1-5.0.3

- old
+ new

@@ -101,17 +101,17 @@ %w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'} end class Object - def attributes *a, &b - sc = - class << self - self - end - sc.attributes *a, &b - end - %w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'} +# def attributes *a, &b +# sc = +# class << self +# self +# end +# sc.attributes *a, &b +# end +# %w( __attributes__ __attribute__ attribute ).each{|dst| alias_method dst, 'attributes'} end class Module include Attributes end