Class: Ki::KiLogger

Inherits:
Object show all
Includes:
Singleton
Defined in:
lib/ki/ki_logger.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#loggerObject

Returns the value of attribute logger.



9
10
11
# File 'lib/ki/ki_logger.rb', line 9

def logger
  @logger
end

Instance Method Details

#init(logger) ⇒ Object



11
12
13
# File 'lib/ki/ki_logger.rb', line 11

def init logger
  @logger = logger
end