class RooOnRails::Checks::Heroku::ToolbeltWorking

Public Instance Methods

call() click to toggle source
# 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() click to toggle source
# File lib/roo_on_rails/checks/heroku/toolbelt_working.rb, line 10
def intro
  "Checking if the Heroku Toolbelt is working..."
end