Module: Tyrone
Defined Under Namespace
Classes: Cli
Instance Method Summary collapse
Instance Method Details
#root ⇒ Object
6 7 8 |
# File 'lib/tyrone.rb', line 6 def root Pathname(__FILE__).dirname.join('..') end |
#templates ⇒ Object
14 15 16 |
# File 'lib/tyrone.rb', line 14 def templates root.join('templates') end |
#version ⇒ Object
10 11 12 |
# File 'lib/tyrone.rb', line 10 def version root.join('VERSION').read.freeze end |