lib/rcap/extensions/array.rb in
rcap-2.4.0
vs lib/rcap/extensions/array.rb in
rcap-2.4.1
- old
+ new
@@ -10,6 +10,10 @@
end def blank? empty? end
+
+ def extract_options!
+ last.is_a?(Hash) ? pop : {}
+ end
end