presenter_object 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/presenter_object/presentable.rb +1 -1
- data/lib/presenter_object/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: ba318d03b041c36513036dacf2bf5e16f4d91fa6
|
4
|
+
data.tar.gz: c2e442471e91117a7333bd316f04ec30132cc656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ad28122e2215dc097d60f42886a3fcf046353ec7abf49561d9f379407ed04766c033c2334b2c4247f9dc8406e9a03b7e58ace262080917e36df1a17381d3c12
|
7
|
+
data.tar.gz: 69222e141173db4d753d52bd851c23138630f0bd8429c6e68fb44200a84acd597cb9e5710f6a263003bfa2275049e34c13dde2f04043278362c225cb5013ec79
|
@@ -15,7 +15,7 @@ module PresenterObject::Presentable
|
|
15
15
|
|
16
16
|
module ClassMethods
|
17
17
|
def presenter_class
|
18
|
-
PresenterObject::Base.presenters.fetch name
|
18
|
+
PresenterObject::Base.presenters.fetch name.demodulize
|
19
19
|
rescue KeyError
|
20
20
|
raise PresenterNotRegistered, "No presenter registered for #{name}. Is it defined and loaded?"
|
21
21
|
end
|