Sha256: b8521ad5102eae71fb5e052d48b2f7ec825509e0b050ac5e9c3c19145ec674c1
Contents?: true
Size: 458 Bytes
Versions: 13
Compression:
Stored size: 458 Bytes
Contents
module QED # Access to project metadata. def self.metadata @metadata ||= ( require 'yaml' YAML.load(File.new(File.dirname(__FILE__) + '/qed.yml')) rescue {} ) end # Access to project metadata as constants. def self.const_missing(name) key = name.to_s.downcase metadata[key] || super(name) end # TODO: Only b/c of Ruby 1.8.x bug. VERSION = metadata['version'] end require 'qed/session' require 'qed/document'
Version data entries
13 entries across 13 versions & 1 rubygems