module Rookie
Utilities to create and work with Ruby gems.
@author Matheus Afonso Martins Moreira
Public Class Methods
gem()
click to toggle source
The gem directory, relative to the root.
@return [String] the absolute path to the gem directory @since 0.4.0
# File lib/rookie.rb, line 21 def gem File.join root, 'gem' end
licenses()
click to toggle source
The licenses directory, relative to the gem directory.
@return [String] the absolute path to the licenses directory @since 0.4.0
# File lib/rookie.rb, line 29 def licenses File.join gem, 'licenses' end
root()
click to toggle source
template()
click to toggle source
The template directory, relative to the gem directory.
@return [String] the absolute path to the template directory @since 0.4.0
# File lib/rookie.rb, line 37 def template File.join gem, 'template' end