spec/unit/adamantium/fixtures/classes.rb in adamantium-0.1.0 vs spec/unit/adamantium/fixtures/classes.rb in adamantium-0.2.0
- old
+ new
@@ -2,18 +2,24 @@
module AdamantiumSpecs
class Object
include Adamantium
+ public :transform, :transform_unless
+
def argumented(foo)
end
def test
'test'
end
def public_method
caller
+ end
+
+ def eql?(other)
+ kind_of?(other.class)
end
protected
def protected_method