Module: Fluidity
- Defined in:
- lib/fluidity/about.rb,
lib/fluidity/grammer.rb
Defined Under Namespace
Modules: Grammer
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
Access to project metadata as constants.
-
.index ⇒ Object
Access to project metadata.
Class Method Details
.const_missing(name) ⇒ Object
Access to project metadata as constants.
4 5 6 7 |
# File 'lib/fluidity/about.rb', line 4 def self.const_missing(name) key = name.to_s.downcase index[key] || super(name) end |
.index ⇒ Object
Access to project metadata.
10 11 12 13 14 15 |
# File 'lib/fluidity/about.rb', line 10 def self.index @metadata ||= ( require 'yaml' YAML.load_file(File.dirname(__FILE__) + '/../fluidity.yml') ) end |