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



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

def output
  yield self unless $awful_quiet
  self
end