lib/games_dice/constants.rb in games_dice-0.3.12 vs lib/games_dice/constants.rb in games_dice-0.4.0
- old
+ new
@@ -1,16 +1,16 @@
-module GamesDice
+# frozen_string_literal: true
+module GamesDice
# Reasons for making a reroll, and text explanation symbols for them
REROLL_TYPES = {
- :basic => ',',
- :reroll_add => '+',
- :reroll_subtract => '-',
- :reroll_replace => '|',
- :reroll_use_best => '/',
- :reroll_use_worst => '\\',
+ basic: ',',
+ reroll_add: '+',
+ reroll_subtract: '-',
+ reroll_replace: '|',
+ reroll_use_best: '/',
+ reroll_use_worst: '\\'
# These are not yet implemented:
# :reroll_new_die => '*',
# :reroll_new_keeper => '*',
- }
-
-end
\ No newline at end of file
+ }.freeze
+end