Class: ActionView::Base::ProxyModule
- Defined in:
- lib/action_view/base.rb
Instance Method Summary collapse
- #include(*args) ⇒ Object
-
#initialize(receiver) ⇒ ProxyModule
constructor
A new instance of ProxyModule.
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 |