bottled_decorators 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bottled_decorators/bottled_decorator.rb +1 -4
- data/lib/bottled_decorators/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: b4e17ed35b1111fdf12e048f406bc52accc9b51e
|
4
|
+
data.tar.gz: eca1fb78fbc4d862b1aab7f68e2db2e89c5928b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8422e8087ae943e7f14d01f26fc399e27273dd823e924c004871be3a6438a55242a92ff635b70fea9351f17daf287945c29c224bfd4928f59a1cf3b6ed0fca3e
|
7
|
+
data.tar.gz: 4d04c1ec019e6d7c21a600ea636715a5ee047081b7684aa6bc752524132960b9c40a654f955753b6c92325ba4d28ed826230ade921384af6eeb219cc9e36248c
|
@@ -12,10 +12,7 @@ module BottledDecorator
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def method_missing(method, *args)
|
15
|
-
send
|
16
|
-
return @component.send(method)
|
17
|
-
end
|
18
|
-
self.send(method)
|
15
|
+
return @component.send(method)
|
19
16
|
rescue NoMethodError => e
|
20
17
|
raise NoMethodError.new("Method #{method} was not found in the decorator, or the decorated objects", 'NoMethodError')
|
21
18
|
end
|