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.
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 |