Module: Tyrone

Extended by:
Tyrone
Included in:
Tyrone
Defined in:
lib/tyrone.rb

Defined Under Namespace

Classes: Cli

Instance Method Summary collapse

Instance Method Details

#rootObject



6
7
8
# File 'lib/tyrone.rb', line 6

def root
  Pathname(__FILE__).dirname.join('..')
end

#templatesObject



14
15
16
# File 'lib/tyrone.rb', line 14

def templates
  root.join('templates')
end

#versionObject



10
11
12
# File 'lib/tyrone.rb', line 10

def version
  root.join('VERSION').read.freeze
end