Class: AutomationObject::BluePrint::PageObjectAdapter::CustomMethod
- Defined in:
- lib/automation_object/blue_print/page_object_adapter/custom_method.rb
Overview
CustomMethod composite
Instance Attribute Summary
Attributes inherited from Composite
#constant, #user_defined_module
Attributes inherited from Composite
#children, #location, #name, #parent
Instance Method Summary collapse
Methods inherited from Composite
#create_composite, #get_child, #get_children, #get_page_object, #get_property, #initialize
Methods inherited from Composite
#add_has_many_relationships, #add_has_one_relationships, #get_child, #get_children, has_many, has_many_relationships, has_one, has_one_relationships, #initialize, #top
Methods included from Reflection
Methods included from CompositeHook
#after_create_run, #before_create_run, included
Constructor Details
This class inherits a constructor from AutomationObject::BluePrint::PageObjectAdapter::Composite
Instance Method Details
#element_method ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/automation_object/blue_print/page_object_adapter/custom_method.rb', line 10 def element_method element_method = get_property(:element_method) case element_method when Symbol, String return element_method.to_sym else return nil end end |
#evaluate ⇒ Object
21 22 23 |
# File 'lib/automation_object/blue_print/page_object_adapter/custom_method.rb', line 21 def evaluate get_property(:evaluate) || nil end |