Class: ActionView::Base::ProxyModule

Inherits:
Module
  • Object
show all
Defined in:
lib/action_view/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(receiver) ⇒ ProxyModule

Returns a new instance of ProxyModule.



216
217
218
# File 'lib/action_view/base.rb', line 216

def initialize(receiver)
  @receiver = receiver
end

Instance Method Details

#include(*args) ⇒ Object



220
221
222
223
# File 'lib/action_view/base.rb', line 220

def include(*args)
  super(*args)
  @receiver.extend(*args)
end