Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/powertool/maybe_chain.rb

Overview

Ruby’s Array class

Instance Method Summary collapse

Instance Method Details

#maybe_chain(args = []) ⇒ Object



26
27
28
29
30
# File 'lib/powertool/maybe_chain.rb', line 26

def maybe_chain(args = [])
  return nil unless self

  PowertoolMaybeChain.maybe_chain(self, args)
end