Top Level Namespace

Defined Under Namespace

Modules: Lll

Instance Method Summary collapse

Instance Method Details

#lll(msg = nil, &block) ⇒ Object

Used in debugging to display an expression and its value. Examples:

x = 1
lll{'x'} #=> x = 1
lll("a message"){'x'} #=> a message: x = 1
lll "a message" #=> a message

Enumerable members are output on separate lines



8
9
10
# File 'lib/lll.rb', line 8

def lll msg = nil, &block
  Lll.lll msg, block
end