164 |
# Format slot characteristics |
# Format slot characteristics |
165 |
def formatSlot(slot) |
def formatSlot(slot) |
166 |
out = "Slot: #{slot.path}\n" |
out = "Slot: #{slot.path}\n" |
167 |
|
# Add the slot's manager |
168 |
|
out << "\nManager: #{slot.manager}\n" |
169 |
# Add the count of subscribers |
# Add the count of subscribers |
170 |
out << "\nSubscribers: #{slot.subscribers.size}\n" |
out << "Subscribers: #{slot.subscribers.size}\n" |
171 |
if slot.is_data_slot? |
if slot.is_data_slot? |
172 |
out << "\nType: DATA\n" |
out << "\nType: DATA\n" |
173 |
out << "\nValue:\n#{slot.data.inspect}\n" |
out << "\nValue:\n#{slot.data.inspect}\n" |