Module: ClickToChangeStateMixin
Overview
Mix this in for things that change state when clicked. The only things that wouldn’t change state when clicked either shouldn’t be clicked or are just annoying.
Instance Method Summary collapse
Instance Method Details
#click ⇒ Object
7 8 9 10 11 12 |
# File 'lib/rutl/interface/elements/click_to_change_state_mixin.rb', line 7 def click this_css.click interface.wait_for_transition(@destinations) # TODO: Return what? @destinations end |