Class: Logger

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

Instance Method Summary collapse

Instance Method Details

#d(str) ⇒ Object

Used for debuging, remove this in release code.



22
23
24
# File 'lib/n/logger.rb', line 22

def d(str)
	self << "#{str}\n"
end

#detachObject



17
18
# File 'lib/n/logger.rb', line 17

def detach
end

#i(obj) ⇒ Object

Inspect an object. Used for debugging, remove this in release code.



29
30
31
# File 'lib/n/logger.rb', line 29

def i(obj)
	self << "Inspect #{obj.inspect()}\n"
end