configuration 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +0 -2
- data/lib/configuration.rb +7 -3
- data/samples/e.rb +0 -2
- metadata +2 -2
data/README
CHANGED
data/lib/configuration.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
class Configuration
|
3
|
-
Version = '0.0.
|
3
|
+
Version = '0.0.5'
|
4
4
|
def Configuration.version() Version end
|
5
5
|
|
6
6
|
Path = [
|
@@ -92,11 +92,11 @@ class Configuration
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def Send(m, *a, &b)
|
95
|
-
|
95
|
+
Method(m).call(*a, &b)
|
96
96
|
end
|
97
97
|
|
98
98
|
def Method m
|
99
|
-
|
99
|
+
@__configuration.method(m)
|
100
100
|
end
|
101
101
|
|
102
102
|
def self.evaluate configuration, options = {}, &block
|
@@ -114,6 +114,10 @@ class Configuration
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
+
def __configuration__
|
118
|
+
@__configuration
|
119
|
+
end
|
120
|
+
|
117
121
|
def method_missing m, *a, &b
|
118
122
|
if(a.empty? and b.nil?)
|
119
123
|
return Pure[@__configuration].send(m, *a, &b)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configuration
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ara T. Howard
|
@@ -9,7 +9,7 @@ autorequire: configuration
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-02-
|
12
|
+
date: 2008-02-20 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|