presenter_object 0.3.2 → 0.3.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/delegation.rb +2 -2
- 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: caf09878383145fe1ddd437ffde55acba5168da3
|
4
|
+
data.tar.gz: beda5c41bc127023df847428f66315e1d81572d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bda4dc2cd8b1fc213db386fc27e33ec5d186ca0046a3ee8a5308d342836e99259497196970337fb72fd3c6d899a67a3b9c2f93cb6a72757ac824e9deefc763fd
|
7
|
+
data.tar.gz: 21a332db2793e3e6b14f0d7939b446558dc7965a6e8f9eb780e4adb2351f3650fbb20aadded04481862fcdfbefa707e53fba363d6dc596b8ea05c726899c6f50
|
@@ -1,8 +1,8 @@
|
|
1
1
|
module PresenterObject::Delegation
|
2
2
|
def method_missing(name, *args, &block)
|
3
|
-
if object.respond_to? name
|
3
|
+
if object.respond_to? name, true
|
4
4
|
object.send name, *args, &block
|
5
|
-
elsif view_context.respond_to? name
|
5
|
+
elsif view_context.respond_to? name, true
|
6
6
|
view_context.send name, *args, &block
|
7
7
|
else
|
8
8
|
super
|