light-decorator 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/light/decorator/decorate.rb +1 -1
- data/lib/light/decorator/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: a9b9fd658e557ba46df50b45a8326365cdbf85aa
|
4
|
+
data.tar.gz: eb4a50aaf0b3aedc03f70bd4177069f301659afc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2cc0a0245dafacbee23a48d29a544909b6cd02da5ad5424833cc9693a050dc07409535bdb2f1e9e4471c0c4dce493ff5f6a01794300bc874cb351d66b3424cd
|
7
|
+
data.tar.gz: fa8f87d54fd847879e9074c5fbe6c6d19ef77c4dd71e6b523c4db493af0631a0f08e195ae32d5a09d898f7de66dff1a5feacb030976c20a6e9d51efbbad1fd0a
|
data/.gitignore
CHANGED
@@ -52,7 +52,7 @@ module Light
|
|
52
52
|
|
53
53
|
def delegate_methods
|
54
54
|
# It's more faster than using Forwardable
|
55
|
-
(object.public_methods - Light::Decorator::NOT_DELEGATABLE_METHODS).each do |method|
|
55
|
+
(object.public_methods - methods - Light::Decorator::NOT_DELEGATABLE_METHODS).each do |method|
|
56
56
|
define_singleton_method method do |*args, &block|
|
57
57
|
object.__send__(method, *args, &block)
|
58
58
|
end
|