README.md in polyfill-0.1.0 vs README.md in polyfill-0.2.0

- old
+ new

@@ -30,11 +30,11 @@ ## Installation Add it to your Gemfile: ```ruby -gem 'polyfill', '0.1.0' +gem 'polyfill', '0.2.0' ``` Or install it manually: ```sh @@ -68,19 +68,20 @@ ```ruby using Polyfill::V2_4::Array using Polyfill::V2_4::String ``` -To use a particular method, we can add it after the object. The first word -of the method is uppercased. Predicate methods (ending with a question mark) -have their question converted to a `__Q`. Dangerous methods (ending with an -exclamation mark) have their exclamation replaced with `__E`. +To use a particular method, we can add it after the object. The method is +converted to camel case. Predicate methods (ending with a question mark) +have their question converted to a `Q`. Dangerous methods (ending with an +exclamation mark) have their exclamation replaced with `E`. ```ruby using Polyfill::V2_4::Array::Concat -using Polyfill::V2_4::Dir::Empty__Q # :empty? -using Polyfill::V2_4::Hash::Compact__E # :compact! +using Polyfill::V2_4::Dir::EmptyQ # :empty? +using Polyfill::V2_4::Hash::CompactE # :compact! +using Polyfill::V2_4::Hash::TransformValues # :transform_values! ``` Any method can be accessed as a stand-alone module by adding `Method` to the end: @@ -117,14 +118,14 @@ | File | #empty? | No | | Float | #ceil | Yes | | | #floor | Yes | | | #round | No | | | #truncate | Yes | -| Hash | #compact | No | -| | #compact! | No | -| | #transform_values | No | -| | #transform_values! | No | +| Hash | #compact | Yes | +| | #compact! | Yes | +| | #transform_values | Yes | +| | #transform_values! | Yes | | Integer | #ceil | Yes | | | #digits | Yes | | | #floor | Yes | | | #round | Yes | | | #truncate | Yes | @@ -132,11 +133,11 @@ | | .foreach | No | | | #gets | No | | | #readline | No | | | #readlines | No | | Kernel | #clone | No | -| MatchData | #named_captures | No | -| | #values_at | No | +| MatchData | #named_captures | Yes | +| | #values_at | Yes | | Module | #refine | No | | | .used_modules | No | | Numeric | #finite? | Yes | | | #infinite? | Yes | | Rational | #round | No |