summaryrefslogtreecommitdiff
path: root/lib/mpeg/slice.rb
blob: 75bc132c0d08422174c0e3b8c73b0d17c9b0fe4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Mpeg
  class Slice
    def initialize(position, string)
      @position = position
      @string = string
    end

    def to_s
      "#{@string}@#{@position}"
    end

    def inspect
      to_s
    end
  end
end