mirror of
https://github.com/onyx-and-iris/aoc2025.git
synced 2025-12-07 22:57:50 +00:00
already a symbol
This commit is contained in:
parent
dda849abd3
commit
cce0b68275
@ -47,7 +47,7 @@ class Main
|
||||
|
||||
num1, num2 = nums.shift(2)
|
||||
|
||||
case op.to_sym
|
||||
case op
|
||||
when :+
|
||||
nums.unshift(num1 + num2)
|
||||
when :-
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user