Method: Tmuxinator::Project#initialize

Defined in:
lib/tmuxinator/project.rb

#initialize(yaml, options = {}) ⇒ Project

Returns a new instance of Project.



81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/tmuxinator/project.rb', line 81

def initialize(yaml, options = {})
  options[:force_attach] = false if options[:force_attach].nil?
  options[:force_detach] = false if options[:force_detach].nil?

  @yaml = yaml

  set_instance_variables_from_options(options)

  validate_options

  extend Tmuxinator::WemuxSupport if wemux?
end