Class: ObjectiveCommand::Datas::Temp

Inherits:
ObjectiveCommand::Datas.selfself::Data
  • Object
show all
Defined in:
lib/objective_command/datas/temp.rb

Instance Method Summary collapse

Constructor Details

#initialize(*a, &b) ⇒ Temp

Returns a new instance of Temp.



12
13
14
15
16
17
18
# File 'lib/objective_command/datas/temp.rb', line 12

def initialize ( *a, &b )
  super
  @output = TempPath.new('cmd-output')
  @output.open_mode = :w
  @error = TempPath.new('cmd-error')
  @error.open_mode = :w
end