method

execute_operations

Importance_0
v2_4_6 - Show latest stable - 0 notes - Class: SpecFetcherSetup
execute_operations() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.