21 lines
346 B
Ruby
21 lines
346 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Copyright (C) 2024 Manuel Bustillo
|
|
|
|
module Tables
|
|
class Table < Set
|
|
attr_accessor :discomfort, :min_per_table, :max_per_table
|
|
|
|
def initialize(*args)
|
|
super
|
|
reset
|
|
end
|
|
|
|
def reset
|
|
original_discomfort = discomfort
|
|
@discomfort = nil
|
|
original_discomfort
|
|
end
|
|
end
|
|
end
|