Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/crowdkit/core_ext/array.rb
Instance Method Summary collapse
-
#extract_options! ⇒ Object
Selects a hash from the arguments list.
Instance Method Details
#extract_options! ⇒ Object
Selects a hash from the arguments list
4 5 6 |
# File 'lib/crowdkit/core_ext/array.rb', line 4 def last.is_a?(::Hash) ? pop : {} end |