Consistent naming of random seed

This commit is contained in:
Michael Miller 2020-10-17 22:12:02 -06:00
parent 225e1a52ba
commit e4f3d334ed
No known key found for this signature in database
GPG key ID: F9A0C5C65B162436
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ module Spectator
@fail_blank = builder.fail_blank?
@dry_run = builder.dry_run?
@randomize = builder.randomize?
@random_seed = builder.seed
@random_seed = builder.random_seed
@profile = builder.profile?
@example_filter = builder.example_filter
end

View file

@ -14,7 +14,7 @@ module Spectator
end
# Seed used for random number generation.
property seed : UInt64 = Random.rand(UInt64)
property random_seed : UInt64 = Random.rand(UInt64)
@primary_formatter : Formatting::Formatter?
@additional_formatters = [] of Formatting::Formatter