Class: Object

Inherits:
BasicObject
Defined in:
lib/less/ext.rb

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



33
34
35
36
# File 'lib/less/ext.rb', line 33

def tap
  yield self
  self
end

#verboseObject



26
27
28
29
30
31
# File 'lib/less/ext.rb', line 26

def verbose
  $verbose = true
  yield
ensure
  $verbose = false
end