Class: PomPomPom::Rake::SimpleLogger
- Inherits:
-
Object
- Object
- PomPomPom::Rake::SimpleLogger
- Defined in:
- lib/pompompom/rake.rb
Instance Method Summary collapse
- #info(msg) ⇒ Object
-
#initialize(io) ⇒ SimpleLogger
constructor
A new instance of SimpleLogger.
Constructor Details
#initialize(io) ⇒ SimpleLogger
Returns a new instance of SimpleLogger.
7 8 9 |
# File 'lib/pompompom/rake.rb', line 7 def initialize(io) @io = io end |
Instance Method Details
#info(msg) ⇒ Object
10 11 12 |
# File 'lib/pompompom/rake.rb', line 10 def info(msg) @io.puts(msg) end |