katalyst-tables 3.3.3 → 3.3.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d7d6dcd92a6643324d8dbc5cf4c94981dc44d4a1a9735cc9ea3fc3af7527ef3
|
4
|
+
data.tar.gz: 85a3f731c82146be98b237e3bfe79c8ee412629cf4115928b04ed8e701306be5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70b38e57a58ffb9d4bc1ba4d5044edd9624e90261e576b95a854aba4622fb9ed2e1b1b184643d244cfdb6647bb9509aa7e6402dd06a149bc32b6ad6ddc623883
|
7
|
+
data.tar.gz: c6d0d0810eaaf9b742789008375979f793953c979f0a8a1fbb436b84d06958cb0b24b9aecccb0070b5158f899858de252c63f5aeb72b97ffe038387cf04146af
|
@@ -30,9 +30,9 @@ module Katalyst
|
|
30
30
|
|
31
31
|
def examples_for(key)
|
32
32
|
key = key.to_s
|
33
|
-
|
34
|
-
if respond_to?(
|
35
|
-
public_send(
|
33
|
+
examples_method = "#{key.parameterize.underscore}_examples"
|
34
|
+
if respond_to?(examples_method)
|
35
|
+
public_send(examples_method)
|
36
36
|
elsif @attributes.key?(key)
|
37
37
|
@attributes[key].type.examples_for(unscoped_items, @attributes[key])
|
38
38
|
end
|