lib/muflax/objects.rb in muflax-0.1.35 vs lib/muflax/objects.rb in muflax-0.2.0
- old
+ new
@@ -29,9 +29,13 @@
def attr_accessor(*names)
attr_readers.concat(names)
attr_writers.concat(names)
attr_accessor_without_tracking(*names)
end
+
+ def attributes
+ attr_readers + attr_writers
+ end
end
class Object
def differences_with(other)
# get list of all attributes