From 3f54007ab621d2e6b652523259b1cb2d3d158e22 Mon Sep 17 00:00:00 2001 From: rebecca Date: Thu, 24 Sep 2026 16:42:28 +0100 Subject: create Thing class for general tuples of (pylon,descriptor) --- channel.lua | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 channel.lua (limited to 'channel.lua') diff --git a/channel.lua b/channel.lua deleted file mode 100644 index f921e36..0000000 --- a/channel.lua +++ /dev/null @@ -1,14 +0,0 @@ -local class = require'r.class' --- channel descriptor - -local Channel = class() -function Channel.make(cls, pylon, descriptor) - return setmetatable({pylon=pylon, descriptor=descriptor}, cls) -end -function Channel.__eq(self, other) - return self.pylon == other.pylon and self.descriptor == other.descriptor -end -function Channel.__tostring(self) - return self.pylon.name .. ':' .. self.descriptor -end -return Channel -- cgit v1.2.3