Sha256: d967c2b8add4b2aec0eef410d301c79a904f7544f005958690f2352563425362

Contents?: true

Size: 357 Bytes

Versions: 4

Compression:

Stored size: 357 Bytes

Contents

module InfinityTest
  module Environment

    # Run in context of each Ruby Environment, and the Ruby Version
    #
    def environments(&block)
      raise unless block_given?
      RVM.environments(rubies).each do |environment|
        ruby_version = environment.environment_name
        block.call(environment, ruby_version)
      end
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
infinity_test-1.0.3 lib/infinity_test/environment.rb
infinity_test-1.0.2 lib/infinity_test/environment.rb
infinity_test-1.0.1 lib/infinity_test/environment.rb
infinity_test-1.0.0 lib/infinity_test/environment.rb