Module: PageObject::Accessors

Defined in:
lib/kuali-sakai-common-lib/gem_ext.rb

Instance Method Summary collapse

Instance Method Details

#thing(element_name) ⇒ Object Also known as: item, value, action



11
12
13
14
15
# File 'lib/kuali-sakai-common-lib/gem_ext.rb', line 11

def thing element_name
  define_method element_name.to_s do
    yield self
  end
end