Class: Setup::Checks::DatabaseUrl

Inherits:
Base
  • Object
show all
Defined in:
lib/pry-byetypo/setup/checks/database_url.rb

Class Method Summary collapse

Methods inherited from Base

call, check

Class Method Details

.missing_variable_msgObject



17
18
19
# File 'lib/pry-byetypo/setup/checks/database_url.rb', line 17

def missing_variable_msg
  "[PRY-BYETYPO] ENV[\"DATABASE_URL\"] is empty. Please assign a value to it to enable the functionality of pry-byetypo."
end

.nameObject



9
10
11
# File 'lib/pry-byetypo/setup/checks/database_url.rb', line 9

def name
  "url"
end

.variableObject



13
14
15
# File 'lib/pry-byetypo/setup/checks/database_url.rb', line 13

def variable
  "DATABASE_URL"
end