Class: Funfig::ProxyGroup
- Inherits:
- BasicObject
- Defined in:
- lib/funfig.rb
Instance Method Summary collapse
-
#initialize(group) ⇒ ProxyGroup
constructor
A new instance of ProxyGroup.
- #method_missing(name, &block) ⇒ Object
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 |