Module: Gametel::Platforms::Button
- Included in:
- BrazenheadPlatform
- Defined in:
- lib/gametel/platforms/brazenhead/button.rb
Instance Method Summary collapse
Instance Method Details
#get_button_by_index(index, &block) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/gametel/platforms/brazenhead/button.rb', line 6 def (index, &block) chain_calls do |device| device. index, :variable => '@@the_button@@' block.call device if block end end |
#get_button_by_text(text, &block) ⇒ Object
13 14 15 16 17 18 |
# File 'lib/gametel/platforms/brazenhead/button.rb', line 13 def (text, &block) chain_calls do |device| device. text, :variable => '@@the_button@@' block.call device if block end end |