Class: Object

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

Instance Method Summary collapse

Instance Method Details

#metaclassObject



40
41
42
# File 'lib/task_tempest/active_support.rb', line 40

def metaclass
  class << self; self; end
end

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

Yields:

  • (_self)

Yield Parameters:

  • _self (Object)

    the object that the method was called on



44
45
46
47
# File 'lib/task_tempest/active_support.rb', line 44

def tap
  yield self
  self
end