Sha256: 75797924d86e4bc48447f2f297c189c7dd132792191c090a338c0634a7dcb2cf

Contents?: true

Size: 186 Bytes

Versions: 23

Compression:

Stored size: 186 Bytes

Contents

Execute.define_task do
  desc "web", "Launch the web console in a browser"
  def web
    url = config[:syncserver]
    windows? ? system("start #{url}") : system("open #{url}")
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rhoconnect-7.6.0 commands/rhoconnect/web.rb
rhoconnect-7.5.1 commands/rhoconnect/web.rb
rhoconnect-7.4.1 commands/rhoconnect/web.rb
rhoconnect-7.1.17 commands/rhoconnect/web.rb
rhoconnect-6.2.0 commands/rhoconnect/web.rb
rhoconnect-6.0.11 commands/rhoconnect/web.rb
rhoconnect-5.5.18 commands/rhoconnect/web.rb
rhoconnect-5.5.17 commands/rhoconnect/web.rb
rhoconnect-5.5.15 commands/rhoconnect/web.rb
rhoconnect-5.5.0.22 commands/rhoconnect/web.rb
rhoconnect-5.5.2 commands/rhoconnect/web.rb
rhoconnect-5.5.0.7 commands/rhoconnect/web.rb
rhoconnect-5.5.0.3 commands/rhoconnect/web.rb
rhoconnect-5.5.0 commands/rhoconnect/web.rb
rhoconnect-5.1.1 commands/rhoconnect/web.rb
rhoconnect-4.0.4 commands/rhoconnect/web.rb
rhoconnect-4.0.3 commands/rhoconnect/web.rb
rhoconnect-4.0.2 commands/rhoconnect/web.rb
rhoconnect-4.0.1 commands/rhoconnect/web.rb
rhoconnect-4.0.0 commands/rhoconnect/web.rb