_plugins/eiti_data.rb
# create an integer range array from either a start and end number,
# or a 2-element array
#
# >> EITI::Data.range(1, 4)
# => [1, 2, 3, 4]
# >> EITI::Data.range([1, 4])
# => [1, 2, 3, 4]
create an integer range array from either a start and end number,
or a 2-element array


create an integer range array from either a start and end number or a 2 - element array
def range(start, finish = nil)
      (start, finish) = start if start.is_a?(Array)
      (start..finish).step(1).to_a
    end
def range ( start , finish = nil ) ( start , finish ) = start if start . is_a? ( Array ) ( start .. finish ) . step ( 1 ) . to_a end
create an integer range array from either a start and end number,
or a 2-element array
create an integer range array from either a start and end number or a 2 - element array
start
finish