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.



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

def initialize(receiver)
  @receiver = receiver
end

Instance Method Details

#include(*args) ⇒ Object



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

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