lib/mongoid/shell/errors/base.rb in mongoid-shell-0.4.3 vs lib/mongoid/shell/errors/base.rb in mongoid-shell-0.4.4
- old
+ new
@@ -25,10 +25,10 @@
"\nResolution:\n #{@resolution}"
end
private
- BASE_KEY = 'mongoid.shell.errors.messages' #:nodoc:
+ BASE_KEY = 'mongoid.shell.errors.messages'.freeze #:nodoc:
# Given the key of the specific error and the options hash, translate the
# message.
#
# === Parameters