diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-02-28 12:59:16 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-02-28 12:59:16 +0900 |
| commit | d25b9c9d0ef6498dd9ae58fcf6bb9b438cfcccb0 (patch) | |
| tree | 43f7f1768b4b3d2a898faa3733e7e0b498e0febd /mrbgems/mruby-method | |
| parent | f1fb2bf29eeb8144326230b62c83b9ec72a89a59 (diff) | |
| download | mruby-d25b9c9d0ef6498dd9ae58fcf6bb9b438cfcccb0.tar.gz mruby-d25b9c9d0ef6498dd9ae58fcf6bb9b438cfcccb0.zip | |
Remove unnecessary backticks; ref #4301
Diffstat (limited to 'mrbgems/mruby-method')
| -rw-r--r-- | mrbgems/mruby-method/mrblib/kernel.rb | 2 | ||||
| -rw-r--r-- | mrbgems/mruby-method/src/method.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-method/mrblib/kernel.rb b/mrbgems/mruby-method/mrblib/kernel.rb index 2efc93f37..eb17df5a6 100644 --- a/mrbgems/mruby-method/mrblib/kernel.rb +++ b/mrbgems/mruby-method/mrblib/kernel.rb @@ -3,7 +3,7 @@ module Kernel m = method(name) sc = (class <<self; self; end) if m.owner != sc - raise NameError, "undefined method `#{name}' for class `#{sc}'" + raise NameError, "undefined method '#{name}' for class '#{sc}'" end m end diff --git a/mrbgems/mruby-method/src/method.c b/mrbgems/mruby-method/src/method.c index 600567cac..fa8985694 100644 --- a/mrbgems/mruby-method/src/method.c +++ b/mrbgems/mruby-method/src/method.c @@ -327,7 +327,7 @@ name_error: s = mrb_class_name(mrb, c); mrb_raisef( mrb, E_NAME_ERROR, - "undefined method `%S' for class `%S'", + "undefined method '%S' for class '%S'", mrb_sym2str(mrb, name), mrb_str_new_static(mrb, s, strlen(s)) ); |
