module Tmuxinator::Hooks

Public Instance Methods

commands_from(project, hook_name) click to toggle source
# 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