jcompiler 0.1.116 → 0.1.119
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build +1 -1
- data/lib/jcompiler/provider.rb +6 -0
- 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: c7bf637b15a11a60b37682468b9c363627100397
|
4
|
+
data.tar.gz: b89a29ddafaadd32e2d8cc892d145c0365080c30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ea64c75d8dd72968debfc70425de3805e1335e594217e9c59999d708548a2e7407be22f0967c0f4cfcc7b84615dd77328de46de82d0a1b9d9ebbbf4d87bfd7
|
7
|
+
data.tar.gz: 34ff7fc2463788c8abb5ce6bbfebfcfc9747d2eff3969ec66577a6cd6a240151da60a10131f80d9c33de95d4f94b2f2f13ff9b674831dfad7a8ddfc1b2ebdb28
|
data/build
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
120
|
data/lib/jcompiler/provider.rb
CHANGED
@@ -25,6 +25,12 @@ class Jcompiler::Provider
|
|
25
25
|
%{"#{num}"}
|
26
26
|
end
|
27
27
|
|
28
|
+
def extract!(obj_name, *key_names)
|
29
|
+
key_names.each do |key_name|
|
30
|
+
send(key_name, "#{obj_name}.#{key_name}")
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
28
34
|
def method_missing(name, *args, &block)
|
29
35
|
src = if block
|
30
36
|
block.call
|