lib/raap/bind_call.rb in raap-0.1.0 vs lib/raap/bind_call.rb in raap-0.2.0
- old
+ new
@@ -6,9 +6,10 @@
def instance_of?(...) = ::Kernel.instance_method(:instance_of?).bind_call(...)
def is_a?(...) = ::Kernel.instance_method(:is_a?).bind_call(...)
def extend(...) = ::Kernel.instance_method(:extend).bind_call(...)
def name(...) = ::Module.instance_method(:name).bind_call(...)
def to_s(...) = ::Kernel.instance_method(:to_s).bind_call(...)
+ def public_send(...) = ::Kernel.instance_method(:public_send).bind_call(...)
def class(obj)
if respond_to?(obj, :class)
obj.class
else