Class: Object

Inherits:
BasicObject
Defined in:
lib/thread_storm/active_support.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#metaclassObject



38
39
40
# File 'lib/thread_storm/active_support.rb', line 38

def metaclass
  class << self; self; end
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



42
43
44
45
# File 'lib/thread_storm/active_support.rb', line 42

def tap
  yield(self)
  self
end