Class: Baleen::EoL
- Inherits:
-
Object
- Object
- Baleen::EoL
- Defined in:
- lib/baleen/utils/logger.rb
Overview
End of Log
Instance Method Summary collapse
- #eol ⇒ Object
-
#initialize(proc) ⇒ EoL
constructor
A new instance of EoL.
Constructor Details
#initialize(proc) ⇒ EoL
Returns a new instance of EoL.
9 10 11 |
# File 'lib/baleen/utils/logger.rb', line 9 def initialize(proc) @proc = proc end |
Instance Method Details
#eol ⇒ Object
13 14 15 |
# File 'lib/baleen/utils/logger.rb', line 13 def eol @proc.call end |