diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-13 22:57:31 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-13 22:57:31 +0900 |
commit | 1efc3d6d65405631630e32bdcc5274bb49f44222 (patch) | |
tree | 1a13591434da2ccf6df26cc3428b4db52b8de154 /spec/ruby/core/kernel/fixtures | |
parent | 1f1b62fb7bb0855788f3da7fdcf9e440ff617fb3 (diff) |
Suppress warnings [Feature #15973]
Diffstat (limited to 'spec/ruby/core/kernel/fixtures')
-rw-r--r-- | spec/ruby/core/kernel/fixtures/classes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/fixtures/classes.rb b/spec/ruby/core/kernel/fixtures/classes.rb index 623b45ca34..8702c925c8 100644 --- a/spec/ruby/core/kernel/fixtures/classes.rb +++ b/spec/ruby/core/kernel/fixtures/classes.rb @@ -350,7 +350,7 @@ module KernelSpecs module Ampersand def lambda(&block) - super(&block) + suppress_warning {super(&block)} end end |