Exception: Baykit::BayServer::Sink
- Inherits:
-
StandardError
- Object
- StandardError
- Baykit::BayServer::Sink
- Defined in:
- lib/baykit/bayserver/sink.rb
Instance Method Summary collapse
-
#initialize(fmt = nil, *args) ⇒ Sink
constructor
A new instance of Sink.
Constructor Details
#initialize(fmt = nil, *args) ⇒ Sink
Returns a new instance of Sink.
10 11 12 13 14 15 16 17 18 |
# File 'lib/baykit/bayserver/sink.rb', line 10 def initialize(fmt = nil, *args) super(if fmt == nil "" elsif args == nil sprintf("%s", fmt) else sprintf(fmt, *args) end + "(>_<)") end |