Module: Ratch
- Defined in:
- lib/ratch/file_list.rb,
lib/ratch.rb,
lib/ratch/batch.rb,
lib/ratch/shell.rb,
lib/ratch/script.rb,
lib/ratch/system.rb,
lib/ratch/console.rb,
lib/ratch/utils/cli.rb,
lib/ratch/utils/ftp.rb,
lib/ratch/utils/pom.rb,
lib/ratch/utils/tar.rb,
lib/ratch/utils/xdg.rb,
lib/ratch/utils/rdoc.rb,
lib/ratch/utils/zlib.rb,
lib/ratch/script/help.rb,
lib/ratch/utils/email.rb,
lib/ratch/utils/config.rb
Overview
require ‘rake/file_utils_ext’
Defined Under Namespace
Modules: CLI, ConfigUtils, EmailUtils, FTPUtils, POMUtils, RDocUtils, TarUtils, XDGUtils, ZlibUtils Classes: Batch, Console, Emailer, FileList, FileNotFound, Help, Script, Shell, System
Constant Summary collapse
- VERSION =
TODO: Only here b/c of issue with Ruby 1.8.x.
['version']
Class Method Summary collapse
-
.const_missing(name) ⇒ Object
Access to project metadata via constants.
-
.metadata ⇒ Object
Access to project metadata.
Class Method Details
.const_missing(name) ⇒ Object
Access to project metadata via constants.
11 12 13 |
# File 'lib/ratch.rb', line 11 def self.const_missing(name) [name.to_s.downcase] || super(name) end |
.metadata ⇒ Object
Access to project metadata.
3 4 5 6 7 8 |
# File 'lib/ratch.rb', line 3 def self. @metadata ||= ( require 'yaml' YAML.load(File.dirname(__FILE__) + '/ratch.yml') ) end |