Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/ruby/jruby/java/java_ext/java.util.rb
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ def to_a
# first
toArray.to_a
end
alias_method :to_ary, :to_a

end

# A *java.util.Enumeration* instance might be iterated Ruby style.
@@ -175,4 +175,6 @@ def sort!(&block)
self
end

alias_method :to_ary, :to_a

end

0 comments on commit 8b8a197

Please sign in to comment.