Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RubySet#newSet should be a static method instead of an instance method #6605

caleb opened this issue Mar 9, 2021 · 0 comments


Copy link

caleb commented Mar 9, 2021


The newSet method of org.jruby.ext.set.RubySet should be a static method so that users can create sets from Java:

RubySet newSet(final Ruby runtime) {
RubySet set = new RubySet(runtime, getMetaClass());
return set;

headius added a commit that referenced this issue Mar 11, 2021
@headius headius added this to the JRuby milestone Mar 11, 2021
@headius headius closed this as completed Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants