Sha256: e61fa9ba55c4cc2f613f28999e78021578a36fd8854077ddcb6f5543d937f93d

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

module Ratch
  # Access to project metadata.
  def self.metadata
    @metadata ||= (
      require 'yaml'
      YAML.load(File.dirname(__FILE__) + '/ratch.yml')
    )
  end

  # Access to project metadata via constants.
  def self.const_missing(name)
    metadata[name.to_s.downcase] || super(name)
  end

  # TODO: Only here b/c of issue with Ruby 1.8.x.
  VERSION = metadata['version']
end

require 'ratch/script'

# Load utility extension modules.
require 'ratch/utils/cli'
require 'ratch/utils/pom'
require 'ratch/utils/rdoc'
#require 'ratch/utils/email'
#require 'ratch/utils/tar'
#require 'ratch/utils/zlib'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ratch-1.2.0 lib/ratch.rb