summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_method.c b/vm_method.c
index 3a9dfc1c5d..8cb86263e2 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -1148,9 +1148,9 @@ rb_attr(VALUE klass, ID id, int read, int write, int ex)
visi = METHOD_VISI_PUBLIC;
}
else {
- switch (vm_scope_visibility_get(ec)) {
+ switch (vm_scope_visibility_get(ec)) {
case METHOD_VISI_PRIVATE:
- if (vm_scope_module_func_check(ec)) {
+ if (vm_scope_module_func_check(ec)) {
rb_warning("attribute accessor as module_function");
}
visi = METHOD_VISI_PRIVATE;