Module: Rookie
- Defined in:
- lib/rookie.rb,
lib/rookie/gem.rb,
lib/rookie/tasks.rb,
lib/rookie/tasks/gem.rb,
lib/rookie/tasks/git.rb,
lib/rookie/tasks/console.rb
Overview
Utilities to create and work with Ruby gems.
Defined Under Namespace
Class Method Summary collapse
-
.gem ⇒ String
The gem directory, relative to the root.
-
.licenses ⇒ String
The licenses directory, relative to the gem directory.
-
.root ⇒ String
Location of the Rookie gem.
-
.template ⇒ String
The template directory, relative to the gem directory.
Class Method Details
.gem ⇒ String
The gem directory, relative to the root.
21 22 23 |
# File 'lib/rookie.rb', line 21 def gem File.join root, 'gem' end |
.licenses ⇒ String
The licenses directory, relative to the gem directory.
29 30 31 |
# File 'lib/rookie.rb', line 29 def licenses File.join gem, 'licenses' end |
.root ⇒ String
Location of the Rookie gem.
13 14 15 |
# File 'lib/rookie.rb', line 13 def root File. '..', File.dirname(__FILE__) end |
.template ⇒ String
The template directory, relative to the gem directory.
37 38 39 |
# File 'lib/rookie.rb', line 37 def template File.join gem, 'template' end |