app/models/export/gtfs.rb
# index is optional to make tests easier
index is optional to make tests easier
index is optional to make tests easier
def service_ids
        return [] unless index
        @service_ids ||= time_table_ids.each_with_object(Set.new) do |time_table_id, all|
          all.merge index.service_ids(time_table_id)
        end
      end
def service_ids return [ ] unless index @service_ids ||= time_table_ids . each_with_object ( Set . new ) do | time_table_id , all | all . merge index . service_ids ( time_table_id ) end end
index is optional to make tests easier
index is optional to make tests easier