Class: Stoplight::Infrastructure::Notifier::IO
- Inherits:
-
Object
- Object
- Stoplight::Infrastructure::Notifier::IO
show all
- Includes:
- Generic[::IO], Generic, _StateTransitionNotifier
- Defined in:
- lib/stoplight/infrastructure/notifier/io.rb,
sig/_private/stoplight/infrastructure/notifier/io.rbs
Overview
Constant Summary
Constants included
from Generic
Generic::DEFAULT_FORMATTER
Instance Attribute Summary
Attributes included from Generic
#formatter
Instance Method Summary
collapse
Methods included from Generic
#initialize, #notify
#==, #class, #notify
Instance Method Details
#io ⇒ ::IO
10
11
12
|
# File 'lib/stoplight/infrastructure/notifier/io.rb', line 10
def io
@object
end
|
#put(message) ⇒ void
This method returns an undefined value.
16
17
18
|
# File 'lib/stoplight/infrastructure/notifier/io.rb', line 16
def put(message)
io.puts(message)
end
|