bzproxies 0.1.3 → 0.1.4
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/bzproxies/base.rb +6 -2
- data/lib/bzproxies/version.rb +1 -1
- metadata +1 -1
data/lib/bzproxies/base.rb
CHANGED
|
@@ -4,8 +4,13 @@ require 'bzproxies/core_ext'
|
|
|
4
4
|
|
|
5
5
|
module Proxies
|
|
6
6
|
class Base < BasicObject
|
|
7
|
+
|
|
8
|
+
def self.const_missing(name)
|
|
9
|
+
::Object.const_get(name) if ::Object.const_defined?(name)
|
|
10
|
+
end
|
|
11
|
+
|
|
7
12
|
include Stub
|
|
8
|
-
|
|
13
|
+
|
|
9
14
|
attr_accessor :target
|
|
10
15
|
attr_reader :proxies
|
|
11
16
|
|
|
@@ -53,6 +58,5 @@ module Proxies
|
|
|
53
58
|
def method_missing m, *args, &block
|
|
54
59
|
@target.__send__ m, *args, &block
|
|
55
60
|
end
|
|
56
|
-
|
|
57
61
|
end
|
|
58
62
|
end
|
data/lib/bzproxies/version.rb
CHANGED