README.md in reverse_parameters-1.1.0 vs README.md in reverse_parameters-1.1.1
- old
+ new
@@ -1,9 +1,9 @@
# ReverseParameters
[![Build Status](https://travis-ci.org/zeisler/reverse_parameters.svg)](https://travis-ci.org/zeisler/reverse_parameters)
-[![Code Climate](https://codeclimate.com/github/zeisler/active_mocker.png)](https://codeclimate.com/github/zeisler/reverse_parameters)
+[![Code Climate](https://codeclimate.com/github/zeisler/reverse_parameters/badges/gpa.svg)](https://codeclimate.com/github/zeisler/reverse_parameters)
[![Gem Version](https://badge.fury.io/rb/reverse_parameters.svg)](http://badge.fury.io/rb/reverse_parameters)
Recreate ruby method signatures using ruby's method to Proc creation `#method(:method_name).parameters`. Use this to dynamically recreate method parameter interfaces.
## Installation
@@ -51,10 +51,10 @@
def example_method(named_param:)
end
# Method arguments are the real values passed to (and received by) the function.
-method(:example_method).reverse_parameters_.arguments.to_s
+method(:example_method).reverse_parameters.arguments.to_s
#=> "named_param: named_param"
# Method parameters are the names listed in the function definition.
method(:example_method).reverse_parameters.parameters.to_s
#=> "named_param:"