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
6 7 8 9 |
# File 'lib/celerity/htmlunit.rb', line 6 def method_missing(meth, *args, &blk) m = ["jsxGet_#{meth}", "jsx_get_#{meth}"].find { |m| respond_to?(m) } m ? __send__(m) : super end |