diff options
Diffstat (limited to 'frame.rb')
-rw-r--r-- | frame.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frame.rb b/frame.rb new file mode 100644 index 0000000..70216c8 --- /dev/null +++ b/frame.rb @@ -0,0 +1,14 @@ +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 +end |