summaryrefslogtreecommitdiff
path: root/lib/hashie/extensions/strict_key_access.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hashie/extensions/strict_key_access.rb')
-rw-r--r--lib/hashie/extensions/strict_key_access.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/hashie/extensions/strict_key_access.rb b/lib/hashie/extensions/strict_key_access.rb
index 0edd698..4593b3f 100644
--- a/lib/hashie/extensions/strict_key_access.rb
+++ b/lib/hashie/extensions/strict_key_access.rb
@@ -1,6 +1,7 @@
module Hashie
module Extensions
- # SRP: This extension will fail an error whenever a key is accessed that does not exist in the hash.
+ # SRP: This extension will fail an error whenever a key is accessed
+ # that does not exist in the hash.
#
# EXAMPLE:
#
@@ -21,8 +22,8 @@ module Hashie
module StrictKeyAccess
class DefaultError < StandardError
def initialize
- super(
- 'Setting or using a default with Hashie::Extensions::StrictKeyAccess does not make sense'
+ super('Setting or using a default with Hashie::Extensions::StrictKeyAccess'\
+ ' does not make sense'
)
end
end