code: @SafeVarargs
    public static <E> RubyArray<E> newRubyArray(E... elements) {
      return new RubyArray<>(new ArrayList<>(Arrays.asList(elements)));
    }
docs: Creates a {@link RubyArray} by given elements.
  
  @param <E>
  the type of the elements
  @param elements
  varargs
  @return new {@link RubyArray}