Manuel Bustillo
7f12fcba18
All checks were successful
Run unit tests / unit_tests (pull_request) Successful in 4m35s
15 lines
245 B
Ruby
15 lines
245 B
Ruby
module Tables
|
|
class Table < Array
|
|
attr_accessor :discomfort
|
|
def initialize(*args)
|
|
super
|
|
reset
|
|
end
|
|
|
|
def reset
|
|
original_discomfort = discomfort
|
|
@discomfort = nil
|
|
original_discomfort
|
|
end
|
|
end
|
|
end |