Class: Object

Inherits:
BasicObject
Defined in:
lib/awful.rb

Overview

our implementation of tap for switchable output

Instance Method Summary collapse

Instance Method Details

#output {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



12
13
14
15
# File 'lib/awful.rb', line 12

def output
  yield self unless $awful_quiet
  self
end