Skip to content

Commit

Permalink
Remove range from Kernel#rand call
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletolle committed Jun 25, 2012
1 parent 6b5686b commit d16feb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion world.rb
Expand Up @@ -67,7 +67,7 @@ def rand_point
end

def rand_coord
rand(Min_Coord...Max_Coord)
rand(Dimension)
end

# Returns string of the state of the world.
Expand Down

0 comments on commit d16feb0

Please sign in to comment.