Class: Muxilla::Muxinator
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Muxilla::Muxinator
- Includes:
- Thor::Actions
- Defined in:
- lib/muxilla/muxinator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.output_file ⇒ Object
14 15 16 |
# File 'lib/muxilla/muxinator.rb', line 14 def self.output_file '~/tmux_config.tmux' end |
.source_root ⇒ Object
6 7 8 |
# File 'lib/muxilla/muxinator.rb', line 6 def self.source_root `echo $GEM_HOME`.chomp + "/gems/muxilla-0.0.1/lib/muxilla" end |
Instance Method Details
#create_tmux_config ⇒ Object
10 11 12 |
# File 'lib/muxilla/muxinator.rb', line 10 def create_tmux_config template 'templates/tmux_config.tt', self.class.output_file, :verbose => false end |