Method: Evertils::Cfg#options

Defined in:
lib/evertils/config.rb

#optionsObject

Returns a hash of all module constants and their values



33
34
35
36
37
38
39
# File 'lib/evertils/config.rb', line 33

def options
  keys = Evertils.constants.select { |name| constant?(name) }
  hash = {}

  keys.each { |key| hash[key] = Evertils.const_get(key) }
  hash
end