Sha256: e463249e5ba0638b207886584644dbf77fb6da7acbf6e10984d1f9ad975fea87

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

require 'brazenhead'

module Gametel
  module Platforms
    module Basic

      def is_enabled_by_id(id)
        chain_calls do |device|
          device.id_from_name(id, :target => 'Brazenhead', :variable => '@@view_id@@')
          device.get_view('@@view_id@@', :target => 'Robotium')
          device.is_enabled
        end
      end
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gametel-0.5 lib/gametel/platforms/brazenhead/basic.rb
gametel-0.4 lib/gametel/platforms/brazenhead/basic.rb