# File lib/extlib/hook.rb, line 263 def inline_call(method_info, scope) name = method_info[:name] if scope == :instance args = method_defined?(name) && instance_method(name).arity != 0 ? '*args' : '' %(#{name}(#{args}) if self.class <= ObjectSpace._id2ref(#{method_info[:from].object_id})) else args = respond_to?(name) && method(name).arity != 0 ? '*args' : '' %(#{name}(#{args}) if self <= ObjectSpace._id2ref(#{method_info[:from].object_id})) end end