Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/configatron/core_ext/object.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#send_with_chain(methods, *args) ⇒ Object
:nodoc:
3 4 5 6 7 |
# File 'lib/configatron/core_ext/object.rb', line 3 def send_with_chain(methods, *args) # :nodoc: obj = self [methods].flatten.each {|m| obj = obj.send(m, *args)} obj end |