Class: TextCollector
- Inherits:
-
MessageCollectorProcessed
- Object
- MessageCollector
- MessageCollectorProcessed
- TextCollector
- Defined in:
- bin/minecraftctlserver
Instance Method Summary collapse
-
#initialize(&operations) ⇒ TextCollector
constructor
A new instance of TextCollector.
Methods inherited from MessageCollectorProcessed
Methods inherited from MessageCollector
Constructor Details
#initialize(&operations) ⇒ TextCollector
Returns a new instance of TextCollector.
35 36 37 38 39 40 |
# File 'bin/minecraftctlserver', line 35 def initialize(&operations) super process do |msg| msg.to_s + "\n" end end |