Method: Terminitor::MacCore#initialize

Defined in:
lib/terminitor/cores/mac_core.rb

#initialize(path) ⇒ MacCore

Initialize @terminal with Terminal.app, Load the Windows, store the Termfile Terminitor::MacCore.new(‘/path’)



14
15
16
17
18
19
# File 'lib/terminitor/cores/mac_core.rb', line 14

def initialize(path)
  super
  @terminal = app('Terminal')
  @windows  = @terminal.windows
  @delayed_options = []
end