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