Module: Celerity::JsxHelper

Defined in:
lib/celerity/htmlunit.rb

Method Summary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

- (Object) method_missing(meth, *args, &blk)



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