class Gem::Tasks::Push

def push(path)

Returns:
  • (Boolean) -

Parameters:
  • path (String) --
def push(path)
  arguments = ['gem', 'push', path]
  arguments.push('--host', @host) if @host
  return run(*arguments)
end