mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* expand tabs.
This commit is contained in:
parent
99dc885974
commit
77a073239c
1 changed files with 3 additions and 3 deletions
|
@ -3364,9 +3364,9 @@ rb_iv_get(VALUE obj, const char *name)
|
|||
ID id = rb_check_id_cstr(name, strlen(name), rb_usascii_encoding());
|
||||
|
||||
if (!id) {
|
||||
if (RTEST(ruby_verbose))
|
||||
rb_warning("instance variable %s not initialized", name);
|
||||
return Qnil;
|
||||
if (RTEST(ruby_verbose))
|
||||
rb_warning("instance variable %s not initialized", name);
|
||||
return Qnil;
|
||||
}
|
||||
return rb_ivar_get(obj, id);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue