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.


212
213
214
# File 'lib/action_view/base.rb', line 212

def initialize(receiver)
  @receiver = receiver
end

Instance Method Details

#include(*args) ⇒ Object


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

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