Class: RooOnRails::Checks::Heroku::ToolbeltInstalled
- Inherits:
-
Base
- Object
- Base
- RooOnRails::Checks::Heroku::ToolbeltInstalled
show all
- Defined in:
- lib/roo_on_rails/checks/heroku/toolbelt_installed.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, requires, #run
#bold, included
Instance Method Details
#call ⇒ Object
11
12
13
14
15
16
17
18
|
# File 'lib/roo_on_rails/checks/heroku/toolbelt_installed.rb', line 11
def call
status, path = shell.run "which heroku"
if status
pass "found #{bold path.strip} binary"
else
fail! "'heroku' binary missing"
end
end
|
#intro ⇒ Object
7
8
9
|
# File 'lib/roo_on_rails/checks/heroku/toolbelt_installed.rb', line 7
def intro
"Checking if the Heroku Toolbelt is installed..."
end
|