Module: Chassis::ArrayUtils
- Defined in:
- lib/chassis/array_utils.rb
Class Method Summary collapse
Class Method Details
.extract_options!(array) ⇒ Object
3 4 5 |
# File 'lib/chassis/array_utils.rb', line 3 def (array) array.last.is_a?(Hash) ? array.pop : { } end |