From a867fb0703a9752a8f2dd4ba2fe2a2f30bf867ef Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 9 Jun 2023 17:56:21 +0900 Subject: [PATCH] class.c: remove `methID` from the example and codespell dict --- codespell.txt | 1 - src/class.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/codespell.txt b/codespell.txt index 1f7da30f8..ae73dc628 100644 --- a/codespell.txt +++ b/codespell.txt @@ -11,7 +11,6 @@ fo hel hist ist -methid nd quitt remore diff --git a/src/class.c b/src/class.c index 28f1d46ce..a7030aae4 100644 --- a/src/class.c +++ b/src/class.c @@ -2905,8 +2905,8 @@ mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args) * def romanToInt(str) * # ... * end - * def method_missing(methId) - * str = methId.to_s + * def method_missing(sym) + * str = sym.to_s * romanToInt(str) * end * end