aboutsummaryrefslogtreecommitdiff
path: root/frame.rb
blob: a8d23e64fdf395f0eb63139cf2294a8d5f1dd986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Frame
  def initialize(iface, desc)
    @iface = iface
    @description = desc
  end

  attr_accessor :iface, :description

  def to(iface)
    t = dup
    t.iface = iface
    t
  end

  def ==(oth)
    @iface == oth.iface
  end
end