app/models/time_span.rb
# Return an array of years, for faceting in Solr.
Return an array of years, for faceting in Solr.
Return an array of years for faceting in Solr .
def as_array
    if range?
      (start_integer..finish_integer).to_a
    else
      start_integer
    end
  end
def as_array if range? ( start_integer .. finish_integer ) . to_a else start_integer end end
Return an array of years, for faceting in Solr.
Return an array of years for faceting in Solr .