From 638053e9614f284f733c1e3c8f08ce245f97f779 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Sat, 25 May 2024 07:47:27 -0500 Subject: [PATCH] Document these better --- core/src/main/java/org/jruby/runtime/builtin/IRubyObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/jruby/runtime/builtin/IRubyObject.java b/core/src/main/java/org/jruby/runtime/builtin/IRubyObject.java index 25ea8a01391a..182fa6420f9f 100644 --- a/core/src/main/java/org/jruby/runtime/builtin/IRubyObject.java +++ b/core/src/main/java/org/jruby/runtime/builtin/IRubyObject.java @@ -365,12 +365,12 @@ default IRubyObject dup(ThreadContext context) { void syncVariables(IRubyObject source); /** - * @return a list of all variables (ivar/cvar/constant/internal) + * @return a list of all variables (ivar/internal) */ List> getVariableList(); /** - * @return a list of all marshalable variables (ivar/cvar/constant/internal) + * @return a mutable list of all marshalable variables (ivar/internal) */ default List> getMarshalVariableList() { return getVariableList();