Sha256: e36ec35793216764b22de07d856f78c849a511672ec5832022ea5bb741fbe01e

Contents?: true

Size: 196 Bytes

Versions: 3

Compression:

Stored size: 196 Bytes

Contents

module NetworkExecutive
  class ChannelSchedule < Array

    def add( program )
      unshift program
    end

    def find_by_showtime( time )
      find{ |p| p.include? time }
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
network_executive-0.0.4 app/models/network_executive/channel_schedule.rb
network_executive-0.0.3 app/models/network_executive/channel_schedule.rb
network_executive-0.0.2 app/models/network_executive/channel_schedule.rb