Class: RooOnRails::Checks::Heroku::ToolbeltWorking
- Inherits:
-
Base
- Object
- Base
- RooOnRails::Checks::Heroku::ToolbeltWorking
show all
- Defined in:
- lib/roo_on_rails/checks/heroku/toolbelt_working.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, requires, #run
#bold, included
Instance Method Details
#call ⇒ Object
14
15
16
17
18
19
20
|
# File 'lib/roo_on_rails/checks/heroku/toolbelt_working.rb', line 14
def call
if shell.run? 'heroku status > /dev/null'
pass 'read heroku status'
else
fail! "could not run 'heroku status'"
end
end
|
#intro ⇒ Object
10
11
12
|
# File 'lib/roo_on_rails/checks/heroku/toolbelt_working.rb', line 10
def intro
"Checking if the Heroku Toolbelt is working..."
end
|