Class: Reactive::Mvc::View::Base::ProxyModule
- Inherits:
-
Module
- Object
- Module
- Reactive::Mvc::View::Base::ProxyModule
- Defined in:
- lib/reactive-mvc/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.
223 224 225 |
# File 'lib/reactive-mvc/view/base.rb', line 223 def initialize(receiver) @receiver = receiver end |
Instance Method Details
#include(*args) ⇒ Object
227 228 229 230 |
# File 'lib/reactive-mvc/view/base.rb', line 227 def include(*args) super(*args) @receiver.extend(*args) end |