Skip to content

Commit

Permalink
two_bucket.cr: add missing @ to parameter moves (#517)
Browse files Browse the repository at this point in the history
The parameter should be the instance variable for sure.
  • Loading branch information
f-fr authored Oct 12, 2023
1 parent 62cce48 commit 2015587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/two-bucket/src/two_bucket.cr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module TwoBucket
struct Result
property moves, other_bucket, goal_bucket

def initialize(moves : UInt32, @other_bucket : UInt32, @goal_bucket : Bucket)
def initialize(@moves : UInt32, @other_bucket : UInt32, @goal_bucket : Bucket)
end
end

Expand Down

0 comments on commit 2015587

Please sign in to comment.