Skip to content

Commit d6d1775

Browse files
flvronenobu
authored andcommitted
Fix Ruby 2.5 incopatibility
We don't really need that second optional argument, as its default value is just what we need https://ruby-doc.org/core-2.7.2/Module.html#method-i-private_method_defined-3F
1 parent 396cc79 commit d6d1775

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ruby2_keywords.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class Module
2-
unless private_method_defined?(:ruby2_keywords, true)
2+
unless private_method_defined?(:ruby2_keywords)
33
private
44
# call-seq:
55
# ruby2_keywords(method_name, ...)

0 commit comments

Comments
 (0)