Module: Mixers
- Defined in:
- lib/mixers.rb
Constant Summary collapse
- DIRECTORY =
File.dirname(__FILE__)
Class Method Summary collapse
Class Method Details
.const_missing(name) ⇒ Object
8 9 10 |
# File 'lib/mixers.rb', line 8 def self.const_missing(name) version[name.to_s.downcase] || super(name) end |
.version ⇒ Object
4 5 6 |
# File 'lib/mixers.rb', line 4 def self.version @version ||= YAML.load(File.new(DIRECTORY + '/mixers/version.yml')) end |