Method: Gem::Commands::BuildCommand#execute

Defined in:
lib/rubygems/commands/build_command.rb

#executeObject



62
63
64
65
66
67
68
69
# File 'lib/rubygems/commands/build_command.rb', line 62

def execute
  if build_path = options[:build_path]
    Dir.chdir(build_path) { build_gem }
    return
  end

  build_gem
end