ruby-changes:54991
From: svn <ko1@a...>
Date: Sat, 9 Mar 2019 09:12:59 +0900 (JST)
Subject: [ruby-changes:54991] svn:r67198 (trunk): * expand tabs.
svn 2019-03-09 09:12:53 +0900 (Sat, 09 Mar 2019) New Revision: 67198 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67198 Log: * expand tabs. Modified files: trunk/variable.c Index: variable.c =================================================================== --- variable.c (revision 67197) +++ variable.c (revision 67198) @@ -433,7 +433,7 @@ rb_path_to_class(VALUE pathname) https://github.com/ruby/ruby/blob/trunk/variable.c#L433 } c = rb_const_search(c, id, TRUE, FALSE, FALSE); if (c == Qundef) goto undefined_class; - if (!rb_namespace_p(c)) { + if (!rb_namespace_p(c)) { rb_raise(rb_eTypeError, "%"PRIsVALUE" does not refer to class/module", pathname); } @@ -3108,7 +3108,7 @@ cvar_front_klass(VALUE klass) https://github.com/ruby/ruby/blob/trunk/variable.c#L3108 { if (FL_TEST(klass, FL_SINGLETON)) { VALUE obj = rb_ivar_get(klass, id__attached__); - if (rb_namespace_p(obj)) { + if (rb_namespace_p(obj)) { return obj; } } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/