Module: Tmuxinator::Hooks
- Defined in:
- lib/tmuxinator/hooks.rb,
lib/tmuxinator/hooks/project.rb
Defined Under Namespace
Modules: Project
Class Method Summary collapse
Class Method Details
.commands_from(project, hook_name) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/tmuxinator/hooks.rb', line 7 def commands_from(project, hook_name) hook_config = project.yaml[hook_name] if hook_config.is_a?(Array) hook_config.join("; ") else hook_config end end |