Method: Hash#extractable_options?
- Defined in:
- lib/core/facets/array/extract_options.rb
permalink #extractable_options? ⇒ Boolean
By default, only instances of Hash itself are extractable. Subclasses of Hash may implement this method and return true to declare themselves as extractable. If a Hash is extractable, Array#extract_options! pops it from the Array when it is the last element of the Array.
7 8 9 |
# File 'lib/core/facets/array/extract_options.rb', line 7 def instance_of?(Hash) end |