diff options
author | Nat Lasseter <user@4574.co.uk> | 2024-05-05 12:29:26 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2024-05-05 12:36:52 +0100 |
commit | e55e883718d4ef025171d25a3e31c84e3175d6fc (patch) | |
tree | b81a080f3135fc59fa9e93f0d6e73dc8a9aca001 /frame.rb |
Initial Commit
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 |