Class: AocCli::Components::PuzzleSyncComponent
- Inherits:
-
Kangaru::Component
- Object
- Kangaru::Component
- AocCli::Components::PuzzleSyncComponent
- Extended by:
- Forwardable
- Includes:
- Helpers::ViewHelper
- Defined in:
- lib/aoc_cli/components/puzzle_sync_component.rb
Instance Attribute Summary collapse
-
#log ⇒ Object
readonly
Returns the value of attribute log.
Instance Method Summary collapse
-
#initialize(log:) ⇒ PuzzleSyncComponent
constructor
A new instance of PuzzleSyncComponent.
Methods included from Helpers::ViewHelper
#heading, #main_header, #success_tag, #table_for, #wrap_text
Constructor Details
#initialize(log:) ⇒ PuzzleSyncComponent
Returns a new instance of PuzzleSyncComponent.
12 13 14 |
# File 'lib/aoc_cli/components/puzzle_sync_component.rb', line 12 def initialize(log:) @log = log end |
Instance Attribute Details
#log ⇒ Object (readonly)
Returns the value of attribute log.
8 9 10 |
# File 'lib/aoc_cli/components/puzzle_sync_component.rb', line 8 def log @log end |