# File lib/backports/1.8.7/array/flatten.rb, line 8 def flatten_with_optional_argument(level=-1) dup.flatten!(level) || self end