Class: PomPomPom::Cli::EchoLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/pompompom/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(io) ⇒ EchoLogger

Returns a new instance of EchoLogger.



79
80
81
# File 'lib/pompompom/cli.rb', line 79

def initialize(io)
  @io = io
end

Instance Method Details

#debug(msg) ⇒ Object



83
# File 'lib/pompompom/cli.rb', line 83

def debug(msg); end

#info(msg) ⇒ Object Also known as: warn, fatal



85
86
87
# File 'lib/pompompom/cli.rb', line 85

def info(msg)
  @io.puts(msg)
end