aboutsummaryrefslogtreecommitdiff
path: root/frame.rb
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2024-05-05 12:29:26 +0100
committerNat Lasseter <user@4574.co.uk>2024-05-05 12:36:52 +0100
commite55e883718d4ef025171d25a3e31c84e3175d6fc (patch)
treeb81a080f3135fc59fa9e93f0d6e73dc8a9aca001 /frame.rb
Initial Commit
Diffstat (limited to 'frame.rb')
-rw-r--r--frame.rb14
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