class Object

Constants

TRUE_VALUES

todo/check - move true values and debug? “upstream” to monos - why? why not??

Public Instance Methods

debug?() click to toggle source

include / check for ruby debug flag too - why? why not?

# File lib/sportdb/setup.rb, line 27
def debug?     ## always include (NOT just insportdb?)
  value = ENV['DEBUG']
  if value && TRUE_VALUES.include?( value.downcase )
    true
  else
    false
  end
end