README.md in inactive_support-1.0.0 vs README.md in inactive_support-1.1.0

- old
+ new

@@ -1,8 +1,8 @@ # InactiveSupport -A collection of utilities for ruby projects. +A collection of utilities for ruby projects. ## Installation Add this line to your application's Gemfile: @@ -19,26 +19,26 @@ ## Usage ### Object #### #identity returns self - + [1,2,3,3,4,5,5].group_by(&:identity) # => [[1], [2], [3,3], [4], [5,5]] - + #### #try send a message to the receiver and if it doesn't respond to the message, return nil "".try(:some_method) # => nil - + #### #ctry chained try, for methods with no arguments "Somestring".ctry(:mb_chars, :downcase, :some_method) # => nil - + ### Hash #### #delete_blank Deletes all key/value pairs where the value is an empty string/array/hash or nil. { name: nil, age: 19, address: "" }.delete_blank @@ -48,10 +48,10 @@ #### #consecutive_by groups objects by an attribute that is consecutive [1,2,3,5,6,8,9].consecutive_by(&:identity) # => [[1,2,3],[5,6],[8,9]] - + ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)