Class: Railshoster::AppUrlCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/railshoster/app_url_command.rb

Overview

This action class shows the default railshoster.com url of a project.

Instance Method Summary collapse

Methods inherited from Command

#initialize

Methods included from GeneralCapistranoHelpers

#capistrano_greater_than_2?, #installed_capistrano_version

Constructor Details

This class inherits a constructor from Railshoster::Command

Instance Method Details

#showObject



6
7
8
9
10
# File 'lib/railshoster/app_url_command.rb', line 6

def show
  if_project_already_initialized do
    system("cap railshoster:appurl")
  end
end