Sha256: 25c099dac3f181e2d2ada7bc642c80448ba7e9f051f402ec41a4c3f7146397fc

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

# project information

Gerbil = {
  :name    => 'Gerbil',
  :version => '2.1.0',
  :release => '2008-05-29',
  :website => 'http://gerbil.rubyforge.org',
  :home    => File.expand_path(File.join(File.dirname(__FILE__), '..'))
}
Gerbil[:format_home] = File.join(Gerbil[:home], 'fmt')
Gerbil[:format_files] = Dir[File.join(Gerbil[:format_home], '*.yaml')]

class << Gerbil
  # Returns the name and version.
  def to_s
    self[:name] + ' ' + self[:version]
  end

  # throw an exception instead of returning nil
  alias [] fetch
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gerbil-2.1.0 lib/gerbil.rb