class Flor::Tools::ShellOut
Public Class Methods
Source
# File lib/flor/tools/shell_out.rb, line 7 def initialize(unit) @file = File.open('.log.txt', 'ab') @file.sync = true #@unit.conf['fls_file'] #@unit.conf['fls_file_mode'] end
Public Instance Methods
Source
# File lib/flor/tools/shell_out.rb, line 27 def method_missing(*args) p [ 'MISSING>>>', args ] end
Source
# File lib/flor/tools/shell_out.rb, line 21 def puts(s) $stdout.puts(s) @file.puts(s) end