Class: Taglog::Proxy
- Inherits:
-
Object
- Object
- Taglog::Proxy
- Defined in:
- lib/taglog.rb
Instance Method Summary collapse
-
#initialize(context, tag) ⇒ Proxy
constructor
A new instance of Proxy.
- #method_missing(name, *args) ⇒ Object
Constructor Details
#initialize(context, tag) ⇒ Proxy
Returns a new instance of Proxy.
26 27 28 29 |
# File 'lib/taglog.rb', line 26 def initialize(context, tag) @context = context @tag = tag end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
37 38 39 |
# File 'lib/taglog.rb', line 37 def method_missing(name, *args) delegate(name, *args) end |