lib/raap/bind_call.rb in raap-0.4.0 vs lib/raap/bind_call.rb in raap-0.5.0
- old
+ new
@@ -1,8 +1,10 @@
+# frozen_string_literal: true
+
module RaaP
module BindCall
class << self
- def define_singleton_method(...) = ::Object.instance_method(:define_singleton_method).bind_call(...)
+ def define_method(...) = ::Module.instance_method(:define_method).bind_call(...)
def respond_to?(...) = ::Kernel.instance_method(:respond_to?).bind_call(...)
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(...)