active_method 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/active_method/base.rb +1 -1
- data/lib/active_method/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 403381f7108f07fea213db2b68c9abc71277b1e50e523a7c15118920c186bbd5
|
4
|
+
data.tar.gz: e87f9c937daf923d37934de40d04bb24adecc5c2bdcd8ce2eadbe7d3d302df27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e64c462061a8e6e574ebf345ee48cd4a450925acc6260b2c1ffa9f4d905bf5c9c72c773a6023eefc0d6805798d642285eaee59f7d946adaec2cefa0bb5306c93
|
7
|
+
data.tar.gz: 350d6b978759a527f0a613b292297c361f939e2081b40721d9693baed446f5918ea63065fe2f3437d965a392b5d1d5e95f6377e818985f11e4429e924fd28567
|
data/CHANGELOG.md
CHANGED
data/lib/active_method/base.rb
CHANGED
@@ -105,7 +105,7 @@ module ActiveMethod
|
|
105
105
|
@__method_owner = owner
|
106
106
|
|
107
107
|
instance_name = Util.snake_case(owner.class.name.split("::").last)
|
108
|
-
self.
|
108
|
+
self.define_singleton_method instance_name do
|
109
109
|
@__method_owner
|
110
110
|
end
|
111
111
|
end
|