Class: AocCli::Components::ProgressTable

Inherits:
Kangaru::Component
  • Object
show all
Defined in:
lib/aoc_cli/components/progress_table.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event:) ⇒ ProgressTable

Returns a new instance of ProgressTable.



6
7
8
# File 'lib/aoc_cli/components/progress_table.rb', line 6

def initialize(event:)
  @event = event
end

Instance Attribute Details

#eventObject (readonly)

Returns the value of attribute event.



4
5
6
# File 'lib/aoc_cli/components/progress_table.rb', line 4

def event
  @event
end