Class: HtmlTag::Proxy
- Inherits:
-
Object
- Object
- HtmlTag::Proxy
- Defined in:
- lib/html-tag/globals.rb
Instance Method Summary collapse
-
#initialize(scope = nil) ⇒ Proxy
constructor
A new instance of Proxy.
- #method_missing(name, *args, &block) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
26 27 28 29 30 |
# File 'lib/html-tag/globals.rb', line 26 def method_missing name, *args, &block @pointer .send(name, *args, &block) .join('') end |