# File lib/gametel/platforms/brazenhead/button.rb, line 6 def get_button_by_index(index, &block) chain_calls do |device| device.get_button index, :variable => '@@the_button@@' block.call device if block end end
# File lib/gametel/platforms/brazenhead/button.rb, line 13 def get_button_by_text(text, &block) chain_calls do |device| device.get_button text, :variable => '@@the_button@@' block.call device if block end end