Class: Object

Inherits:
BasicObject
Defined in:
lib/summary_judgement/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#recursive_send(*methods) ⇒ Object



34
35
36
37
38
# File 'lib/summary_judgement/core_extensions.rb', line 34

def recursive_send(*methods)
  return self if methods.empty?
  m = methods.shift
  send(m).recursive_send(*methods)
end