method

execute_operations

execute_operations()
public

No documentation available.

# File lib/rubygems/test_utilities.rb, line 247
  def execute_operations # :nodoc:
    @operations.each do |operation, *arguments|
      case operation
      when :gem then
        spec, gem = @test.util_gem(*arguments, &arguments.pop)

        write_spec spec

        @gems[spec] = gem
        @installed << spec
      when :download then
        spec, gem = @test.util_gem(*arguments, &arguments.pop)

        @gems[spec] = gem
        @downloaded << spec
      when :spec then
        spec = @test.util_spec(*arguments, &arguments.pop)

        write_spec spec

        @gems[spec] = nil
        @installed << spec
      end
    end
  end