Class: Reactive::Mvc::View::Base::ProxyModule

Inherits:
Module
  • Object
show all
Defined in:
lib/reactive-mvc/view/base.rb

Instance Method Summary collapse

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