Module: Celerity::JsxHelper
- Included in:
- Java::ComGargoylesoftwareHtmlunitJavascriptHostCss::CSSStyleDeclaration, Java::ComGargoylesoftwareHtmlunitJavascriptHostHtml::HTMLElement
- Defined in:
- lib/celerity/htmlunit.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args, &blk) ⇒ Object
8 9 10 11 |
# File 'lib/celerity/htmlunit.rb', line 8 def method_missing(meth, *args, &blk) m = ["jsxGet_#{meth}", "jsx_get_#{meth}"].find { |m| respond_to?(m) } m ? __send__(m) : super end |