Method: Zold::Node::NohupLog#initialize

Defined in:
lib/zold/commands/node.rb

#initialize(file, max) ⇒ NohupLog

Returns a new instance of NohupLog.



460
461
462
463
464
# File 'lib/zold/commands/node.rb', line 460

def initialize(file, max)
  @file = file
  raise "Truncation size is too small (#{max}), should be over 10Kb" if max < 10 * 1024
  @max = max
end