Skip to content

Commit 51c47c0

Browse files
committed
Define Hash.ruby2_keywords_hash? singleton method
1 parent 2ee450c commit 51c47c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/ruby2_keywords.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def ruby2_keywords
2222
end
2323
end
2424

25-
class Hash
25+
class << Hash
2626
unless method_defined?(:ruby2_keywords_hash?)
27-
def ruby2_keywords_hash?
27+
def ruby2_keywords_hash?(hash)
2828
false
2929
end
3030
end

0 commit comments

Comments
 (0)