Method: Evertils::Cfg#options
- Defined in:
- lib/evertils/config.rb
#options ⇒ Object
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 keys = Evertils.constants.select { |name| constant?(name) } hash = {} keys.each { |key| hash[key] = Evertils.const_get(key) } hash end |