including(*elements)
public
Returns a new array that includes the passed elements.
[ 1, 2, 3 ].including(4, 5)
["David", "Rafael"].including %w[ Aaron Todd ]
# File activesupport/lib/active_support/core_ext/enumerable.rb, line 112
def including(*elements)
to_a.including(*elements)
end