Class: Ramesh::Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/ramesh/logger.rb

Instance Method Summary collapse

Constructor Details

#initialize(output) ⇒ Logger

Returns a new instance of Logger.



3
4
5
# File 'lib/ramesh/logger.rb', line 3

def initialize(output)
  @output = output
end

Instance Method Details

#info(msg) ⇒ Object



7
8
9
# File 'lib/ramesh/logger.rb', line 7

def info(msg)
  @output.puts msg
end