setting_accessors 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/setting_accessors/internal.rb +1 -1
- data/lib/setting_accessors/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 912a9cc992d18c425f566cb38e4d13f8d40e98a2
|
4
|
+
data.tar.gz: 6a97b4452c34bcf03ba558a80dcffe0fc8e374a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cff208b475cadc713e358a4314929cb904160a24b2d76eee9c2e2004011684949612cfeda01bf985f02fc2d86aff5206c1125ecd7c3a66143c213c8e08cc0d80
|
7
|
+
data.tar.gz: 21651ebb8af2fc3d395240402c88fb937e37b6bd0402046cc322c165eea1f73600cfb84e6b1074076e16cd08309ef10f34d8b5127f840596c8559ee1cfbb1aa3
|
@@ -119,7 +119,7 @@ module SettingAccessors
|
|
119
119
|
# @return [Array<String>] all setting accessor names defined in the given +class+
|
120
120
|
#
|
121
121
|
def self.setting_accessor_names(klass)
|
122
|
-
self.lookup_nested_hash(@@setting_accessor_names, klass.to_s)
|
122
|
+
self.lookup_nested_hash(@@setting_accessor_names, klass.to_s) || []
|
123
123
|
end
|
124
124
|
|
125
125
|
end
|