Class: AocCli::Processors::PuzzleRefresher
- Inherits:
-
Core::Processor
- Object
- Core::Processor
- AocCli::Processors::PuzzleRefresher
- Extended by:
- Forwardable
- Defined in:
- lib/aoc_cli/processors/puzzle_refresher.rb
Instance Attribute Summary collapse
-
#puzzle ⇒ Object
Returns the value of attribute puzzle.
Instance Method Summary collapse
Methods inherited from Core::Processor
Instance Attribute Details
#puzzle ⇒ Object
Returns the value of attribute puzzle.
4 5 6 |
# File 'lib/aoc_cli/processors/puzzle_refresher.rb', line 4 def puzzle @puzzle end |
Instance Method Details
#run ⇒ Object
8 9 10 |
# File 'lib/aoc_cli/processors/puzzle_refresher.rb', line 8 def run puzzle.update(content:, input:) || puzzle end |