refr 0.0.2.3 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/refr.rb +4 -4
- metadata +1 -1
data/lib/refr.rb
CHANGED
@@ -34,13 +34,13 @@ class Reference < BasicObject
|
|
34
34
|
end
|
35
35
|
end
|
36
36
|
|
37
|
-
def
|
37
|
+
def __get_referenced__
|
38
38
|
@getter.call
|
39
|
-
end; alias ~
|
39
|
+
end; alias ~ __get_referenced__
|
40
40
|
|
41
|
-
def
|
41
|
+
def __set_referenced__ (val)
|
42
42
|
@setter.call(val)
|
43
|
-
end; alias =~
|
43
|
+
end; alias =~ __set_referenced__
|
44
44
|
|
45
45
|
def method_missing (id, *args, &block)
|
46
46
|
__get__.__send__(id, *args, &block)
|