Class: Module
Instance Method Summary collapse
-
#consts ⇒ Hash
return hash instead of names.
Instance Method Details
#consts ⇒ Hash
return hash instead of names
6 7 8 9 10 |
# File 'lib/tagen/core/module.rb', line 6 def consts constants.each.with_object ({}) do |k,m| m[k] = const_get(k) end end |