Class: Puppi::Notifications::Stdout
- Inherits:
-
Object
- Object
- Puppi::Notifications::Stdout
- Defined in:
- lib/puppi/notifications/stdout.rb
Instance Method Summary collapse
-
#initialize ⇒ Stdout
constructor
A new instance of Stdout.
- #output(output) ⇒ Object
Constructor Details
#initialize ⇒ Stdout
Returns a new instance of Stdout.
4 5 |
# File 'lib/puppi/notifications/stdout.rb', line 4 def initialize end |
Instance Method Details
#output(output) ⇒ Object
7 8 9 |
# File 'lib/puppi/notifications/stdout.rb', line 7 def output(output) puts output if Puppi::stdout_print end |