Skip to content

Commit ff392be

Browse files
mamenobu
authored andcommitted
Add a shim for Proc#ruby2_keywords
1 parent d5d8c0c commit ff392be

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/ruby2_keywords.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ def main.ruby2_keywords(name, *)
1313
# nil
1414
end
1515
end
16+
17+
class Proc
18+
def ruby2_keywords
19+
self
20+
end
21+
end

0 commit comments

Comments
 (0)