Sha256: 868091ced1f289277be173d1f4ea18dce768c97ca6b768bb4c0bc0565a29d93b

Contents?: true

Size: 1.2 KB

Versions: 27

Compression:

Stored size: 1.2 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'

module Calabash
  module Cucumber

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

      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

27 entries across 27 versions & 1 rubygems

Version Path
calabash-cucumber-0.23.7 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.6 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.5 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.4 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.3 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.2 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.23.0 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.22.2 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.10 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.8 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.7 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.6 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.5 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.4 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.2 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.21.1 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.20.5 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.20.4 lib/calabash-cucumber/operations.rb
calabash-cucumber-0.20.3 lib/calabash-cucumber/operations.rb