Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/Array/extract_optionsX.rb
Overview
History: Stolen wholesale from ActiveSupport.
Instance Method Summary collapse
Instance Method Details
#extract_options! ⇒ Object
10 11 12 |
# File 'lib/Array/extract_optionsX.rb', line 10 def last.is_a?(::Hash) ? pop : {} end |