lib/eol.rb
# this method expects 'LOGINS_ENABLED' as a string and not $LOGINS_ENABLED which will
# try to get evaluated as an application global variable
this method expects 'LOGINS_ENABLED' as a string and not $LOGINS_ENABLED which will
try to get evaluated as an application global variable
this method expects ' LOGINS_ENABLED ' as a string and not $LOGINS_ENABLED which will try to get evaluated as an application global variable
def global_defined?(variable_name_string)
      return false unless variable_name_string.match(/^[A-Z]+(_[A-Z]+)*$/i)
      return true if self.defined_in_environment?(variable_name_string)
      return true if self.defined_in_database?(variable_name_string)
      return false
    end
def global_defined? ( variable_name_string ) return false unless variable_name_string . match ( / ^[A-Z]+(_[A-Z]+)*$ /i ) return true if self . defined_in_environment? ( variable_name_string ) return true if self . defined_in_database? ( variable_name_string ) return false end
this method expects 'LOGINS_ENABLED' as a string and not $LOGINS_ENABLED which will
try to get evaluated as an application global variable
this method expects ' LOGINS_ENABLED ' as a string and not $LOGINS_ENABLED which will try to get evaluated as an application global variable
# variables must start and end with a letter and can use underscores. Upper and lower cases are allowed # e.g. LOGINS_ENABLED
variable_name_string
<not_specific>