lib/ruby_wings.rb in ruby_wings-0.1.0 vs lib/ruby_wings.rb in ruby_wings-0.1.1

- old
+ new

@@ -12,9 +12,15 @@ def blank? empty? end end +class ::Fixnum + def blank? + false + end +end + # Allow recursive merging of Hashes # thanks to http://stackoverflow.com/a/25990044 class ::Hash def deep_merge(second) merger = proc do |key, v1, v2|