Module: Selfish::UnderScore

Included in:
Object
Defined in:
lib/selfish/_.rb

Instance Method Summary collapse

Instance Method Details

#_(&b) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/selfish/_.rb', line 4

def _(&b)
  if b
    selfish(&b)
  else
    _self
  end
end