Sha256: 3f3d22197bae8f2f3fbd735f1591ee28e128dca003ad4914e9e8dd0a97657ad7

Contents?: true

Size: 1.28 KB

Versions: 16

Compression:

Stored size: 1.28 KB

Contents

require 'calabash-cucumber/core'
require 'calabash-cucumber/tests_helpers'
require 'calabash-cucumber/keyboard_helpers'
require 'calabash-cucumber/keychain_helpers'
require 'calabash-cucumber/wait_helpers'
require 'calabash-cucumber/launcher'
require 'net/http'
require 'json'
require 'set'
require 'calabash-cucumber/version'
require 'calabash-cucumber/date_picker'
require 'calabash-cucumber/ipad_1x_2x'
require 'calabash-cucumber/utils/logging'

module Calabash
  module Cucumber

    # A module for wrapping the public APIs of this gem.
    module Operations

      include Calabash::Cucumber::Logging
      include Calabash::Cucumber::Core
      include Calabash::Cucumber::TestsHelpers
      include Calabash::Cucumber::WaitHelpers
      include Calabash::Cucumber::KeyboardHelpers
      include Calabash::Cucumber::KeychainHelpers
      include Calabash::Cucumber::DatePicker
      include Calabash::Cucumber::IPad

      def self.extended(base)
        if (class << base; included_modules.map(&:to_s).include?('Cucumber::RbSupport::RbWorld'); end)
          unless instance_methods.include?(:embed)
            original_embed = base.method(:embed)
            define_method(:embed) do |*args|
              original_embed.call(*args)
            end
          end
        end
      end

    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
calabash-cucumber-0.18.2 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.18.1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.18.0 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.17.1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.17.0 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.16.4 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.16.3 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.16.2 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.16.1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.15.0 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.14.3 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.14.2 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.14.2.pre1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.14.1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.14.0 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.13.0 lib/calabash-cucumber/operations.rb