module Tachikoma
Namespace of tachikoma
Settings of Tachikoma
Version of tachikoma
Constants
- VERSION
Public Class Methods
data_path()
click to toggle source
~/users-tachikoma-dir/data
# File lib/tachikoma/settings.rb, line 16 def data_path @data_path ||= root_path.join('data') end
data_path=(data_path)
click to toggle source
# File lib/tachikoma/settings.rb, line 20 def data_path=(data_path) @data_path = Pathname.new File.expand_path(data_path) end
original_data_path()
click to toggle source
/path/to/gem/tachikoma/data
# File lib/tachikoma/settings.rb, line 39 def original_data_path @original_data_path ||= original_root_path.join('data') end
original_root_path()
click to toggle source
/path/to/gem/tachikoma
# File lib/tachikoma/settings.rb, line 34 def original_root_path @original_root_path ||= Pathname.new File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) end
repos_path()
click to toggle source
~/users-tachikoma-dir/repos
# File lib/tachikoma/settings.rb, line 25 def repos_path @repos_path ||= root_path.join('repos') end
repos_path=(repos_path)
click to toggle source
# File lib/tachikoma/settings.rb, line 29 def repos_path=(repos_path) @repos_path = Pathname.new File.expand_path(repos_path) end
root_path()
click to toggle source
~/users-tachikoma-dir
# File lib/tachikoma/settings.rb, line 7 def root_path @root_path ||= Pathname.new Dir.pwd end
root_path=(root_path)
click to toggle source
# File lib/tachikoma/settings.rb, line 11 def root_path=(root_path) @root_path = Pathname.new File.expand_path(root_path) end