module Gametel::Platforms::Button

Public Instance Methods

get_button_by_index(index, &block) click to toggle source
# 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
get_button_by_text(text, &block) click to toggle source
# 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