Class: Astrails::Safe::Sink
Instance Method Summary collapse
Methods inherited from Stream
#compressed?, #config, #filename, #id, #initialize
Constructor Details
This class inherits a constructor from Astrails::Safe::Stream
Instance Method Details
#run ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/astrails/safe/sink.rb', line 5 def run if active? save cleanup else @parent.run end end |