From 1b4ef46519fe3d13c4a3496ed9298f5e3ce60117 Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sun, 10 Nov 2019 12:04:28 -0800 Subject: [PATCH] Fix usage example in README The examle warns in Ruby 2.7, and it isn't a case where you would want to use ruby2_keywords. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 076423d..7bd32fd 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ Or install it yourself as: require 'ruby2_keywords' module YourModule - ruby2_keywords def oldstyle_keywords(options = {}) + ruby2_keywords def delegating_method(*args) + other_method(*args) end end ```