Sha256: 5902bfae846a8674eea1d78b4c3816ad0802e03166e2497db0dc7b3d7e9a4f28
Contents?: true
Size: 526 Bytes
Versions: 2
Compression:
Stored size: 526 Bytes
Contents
module QED DIRECTORY = File.dirname(__FILE__) def self.package @package ||= ( require 'yaml' YAML.load(File.new(DIRECTORY + '/package')) ) end def self.profile @profile ||= ( require 'yaml' YAML.load(File.new(DIRECTORY + '/profile')) ) end def self.const_missing(name) key = name.to_s.downcase package[key] || profile[key] || super(name) end end # becuase Ruby 1.8~ gets in the way Object.__send__(:remove_const, :VERSION) if Object.const_defined?(:VERSION)
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
qed-2.5.0 | lib/qed/meta/data.rb |
qed-2.5.0 | meta/data.rb |