class Array
Monkey patches for the ruby Array
def extract_options!
-
(Hash)
-
def extract_options! if last.is_a?(Hash) && last.instance_of?(Hash) pop else {} end end
Monkey patches for the ruby Array
(Hash)
-
def extract_options! if last.is_a?(Hash) && last.instance_of?(Hash) pop else {} end end