Method: PageMagic::InstanceMethods#method_missing

Defined in:
lib/page_magic/instance_methods.rb

#method_missing(method, *args) ⇒ Object

proxy to the defined page element definitions

Returns:

  • (Object)

    the result of accessing the requested page element through its definition



36
37
38
# File 'lib/page_magic/instance_methods.rb', line 36

def method_missing(method, *args)
  element_context.send(method, *args)
end