Class: Tlux::Commands::Base
- Inherits:
-
Object
- Object
- Tlux::Commands::Base
show all
- Defined in:
- lib/tlux/commands/base.rb
Instance Method Summary
collapse
Instance Method Details
#config_path ⇒ Object
8
9
10
|
# File 'lib/tlux/commands/base.rb', line 8
def config_path
File.join(Dir.home, '.tlux')
end
|
#generated_path ⇒ Object
12
13
14
|
# File 'lib/tlux/commands/base.rb', line 12
def generated_path
File.join(Dir.home, '.tlux', 'generated')
end
|
#setup ⇒ Object
4
5
6
|
# File 'lib/tlux/commands/base.rb', line 4
def setup
FileUtils.mkdir_p(File.join(Dir.home, '.tlux', 'generated'))
end
|