module R2OAS::Deprecation::InstanceDelegator::ClassMethods

Public Instance Methods

include(included_module) click to toggle source

override Module#include

Calls superclass method
# File lib/r2-oas/support/deprecation/instance_delegator.rb, line 20
def include(included_module)
  included_module.instance_methods.each { |m| method_added(m) }
  super
end
method_added(method_name) click to toggle source
# File lib/r2-oas/support/deprecation/instance_delegator.rb, line 25
def method_added(method_name)
  singleton_class.def_delegators(:instance, method_name)
end