Class: Funfig::ProxyGroup

Inherits:
BasicObject
Defined in:
lib/funfig.rb

Instance Method Summary collapse

Constructor Details

#initialize(group) ⇒ ProxyGroup

Returns a new instance of ProxyGroup.



20
21
22
# File 'lib/funfig.rb', line 20

def initialize(group)
  @group = group
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, &block) ⇒ Object



23
24
25
# File 'lib/funfig.rb', line 23

def method_missing(name, &block)
  @group.group name, &block
end