Skip to content

Commit

Permalink
no need for rand in gensym
Browse files Browse the repository at this point in the history
  • Loading branch information
quix committed Sep 12, 2008
1 parent 46afa02 commit 3c35974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/quix/kernel.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def gensym(prefix = nil)
@count += 1
}
}
"#{prefix || :G}_#{count}_#{rand}".to_sym
"#{prefix || :G}_#{count}".to_sym
end
end
include Gensym
Expand Down

0 comments on commit 3c35974

Please sign in to comment.