Remove unnecessary backticks; ref #4301

parent f1fb2bf2
......@@ -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
......
......@@ -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))
);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment