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