Module: Mast
- Defined in:
- lib/mast.rb,
lib/mast/cli.rb,
lib/mast/manifest.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
becuase Ruby 1.8~ gets in the way
['version']
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
Access project metadata via constants.
-
.metadata ⇒ Object
Access to project metadata.
Class Method Details
.const_missing(name) ⇒ Object
Access project metadata via constants.
11 12 13 14 |
# File 'lib/mast.rb', line 11 def self.const_missing(name) key = name.to_s.downcase package[key] || super(name) end |
.metadata ⇒ Object
Access to project metadata.
3 4 5 6 7 8 |
# File 'lib/mast.rb', line 3 def self. ||= ( require 'yaml' YAML.load(File.new(File.dirname(__FILE__) + '/mast.yml')) ) end |