Class: AocCli::Components::PuzzleSyncComponent

Inherits:
Kangaru::Component
  • Object
show all
Extended by:
Forwardable
Includes:
Helpers::ViewHelper
Defined in:
lib/aoc_cli/components/puzzle_sync_component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#logObject (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