Class: Cayuga::Object::Constants
- Defined in:
- lib/cayuga/object/constants.rb
Overview
noinspection RubyModuleAsSuperclassInspection
Instance Attribute Summary
Attributes inherited from Object
Instance Method Summary collapse
Methods inherited from Singleton
Methods inherited from Object
Methods included from Tools::Loggable
Instance Method Details
#constant(constant) ⇒ Object Also known as: []
10 11 12 |
# File 'lib/cayuga/object/constants.rb', line 10 def constant(constant) constants[constant.symbolize] end |
#directory(constant) ⇒ Object
16 17 18 |
# File 'lib/cayuga/object/constants.rb', line 16 def directory(constant) directories[constant.symbolize] end |
#file(constant) ⇒ Object
20 21 22 |
# File 'lib/cayuga/object/constants.rb', line 20 def file(constant) files[constant.symbolize] end |