class Array
Public Instance Methods
extract_options!()
click to toggle source
# File lib/utils/array.rb, line 2 def extract_options! last.is_a?(::Hash) ? pop : {} end
# File lib/utils/array.rb, line 2 def extract_options! last.is_a?(::Hash) ? pop : {} end