Module: DoDelegate::ClassMethods

Defined in:
lib/active_record/migration/ext/delegate_to_connection.rb

Instance Method Summary collapse

Instance Method Details

#do_delegate(*args) ⇒ Object



15
16
17
# File 'lib/active_record/migration/ext/delegate_to_connection.rb', line 15

def do_delegate(*args)
  Module.instance_method(:delegate).bind_call(self, *args)
end