module Fluidity

Public Class Methods

const_missing(name) click to toggle source

Access to project metadata as constants.

Calls superclass method
# File lib/fluidity/about.rb, line 4
def self.const_missing(name)
  key = name.to_s.downcase
  index[key] || super(name)
end
index() click to toggle source

Access to project metadata.

# File lib/fluidity/about.rb, line 10
def self.index
  @metadata ||= (
    require 'yaml'
    YAML.load_file(File.dirname(__FILE__) + '/../fluidity.yml')
  )
end