Return an array when step is called without a block.

Methods
Public Instance methods
step_with_blockless(value = 1, &block)
    # File activesupport/lib/active_support/core_ext/range/blockless_step.rb, line 11
11:           def step_with_blockless(value = 1, &block)
12:             if block_given?
13:               step_without_blockless(value, &block)
14:             else
15:               [].tap do |array|
16:                 step_without_blockless(value) { |step| array << step }
17:               end
18:             end
19:           end
step_with_blockless(value = 1, &block)
    # File activesupport/lib/active_support/core_ext/range/blockless_step.rb, line 21
21:           def step_with_blockless(value = 1, &block)
22:             if block_given?
23:               step_without_blockless(value, &block)
24:             else
25:               step_without_blockless(value).to_a
26:             end
27:           end