jcompiler 0.1.116 → 0.1.119

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/build +1 -1
  3. data/lib/jcompiler/provider.rb +6 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9c54f81f4dd1b04de85aa04713febbe75d0f307
4
- data.tar.gz: bc4a0c705cce357762d549782390111156e77607
3
+ metadata.gz: c7bf637b15a11a60b37682468b9c363627100397
4
+ data.tar.gz: b89a29ddafaadd32e2d8cc892d145c0365080c30
5
5
  SHA512:
6
- metadata.gz: c422ec035e087bdbf37fef24eafe3820f5183456d3196b2d0535b12c6bdc3389184a215d54684bbc11bb55df8f98839e79ff8e1be1ec525f0ddb0eb81fbeb82d
7
- data.tar.gz: e61bb4e1e5180a459423f6b39fb72786678814125e7d3d6e3c3ea057cd5aa043abd918a4aea5fceb05c95e832f2be657df8999e46eb2db7f38e1844016d6ef4c
6
+ metadata.gz: d7ea64c75d8dd72968debfc70425de3805e1335e594217e9c59999d708548a2e7407be22f0967c0f4cfcc7b84615dd77328de46de82d0a1b9d9ebbbf4d87bfd7
7
+ data.tar.gz: 34ff7fc2463788c8abb5ce6bbfebfcfc9747d2eff3969ec66577a6cd6a240151da60a10131f80d9c33de95d4f94b2f2f13ff9b674831dfad7a8ddfc1b2ebdb28
data/build CHANGED
@@ -1 +1 @@
1
- 117
1
+ 120
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jcompiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.116
4
+ version: 0.1.119
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuri Moriya