Method: PgDice::Configuration#dry_run

Defined in:
lib/pgdice/configuration.rb

#dry_runObject



88
89
90
91
92
# File 'lib/pgdice/configuration.rb', line 88

def dry_run
  return @dry_run if [true, false].include?(@dry_run)

  raise PgDice::InvalidConfigurationError, 'dry_run must be either true or false!'
end