Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/active_enumerable/extract_options.rb
Instance Method Summary collapse
Instance Method Details
#extract_options! ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/active_enumerable/extract_options.rb', line 22 def if last.is_a?(Hash) && last. pop else {} end end |