Class: Puppi::Notifications::Stdout

Inherits:
Object
  • Object
show all
Defined in:
lib/puppi/notifications/stdout.rb

Instance Method Summary collapse

Constructor Details

#initializeStdout

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