Jam_Func 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Jam_Func.rb +20 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39e3b02e68b81c78af5de6a12f165166c988cee9
4
- data.tar.gz: fd8c8d0b2fe46e70f2dd325cfc75f5195087bf01
3
+ metadata.gz: 8b15131d84acb5acbcb606249aedc97bc4c36c22
4
+ data.tar.gz: 111fbcd6e6e21407718d1f423a4ca1cfc1176bdb
5
5
  SHA512:
6
- metadata.gz: 2cc835b15ebfb05c4bd4b8b4d4043a53f58429a08fa1944bc35f4b625b4357c89206e9f1502dface212992ae50c024982e3f9cff1af9c146f0d1b8c572e8fd8b
7
- data.tar.gz: bcd7883749f5d0f463c7f9c3f1c67bc19e8f7c66e78ef08566edfa03d0c2a9f10bf6429799fa7ee63c9738ec45af8993516ffda7737a3b6d2f22176d024b0da3
6
+ metadata.gz: 016d16cac328f90b4ed03675c1bb2ded351a4a0dd1f3012b4e4b11aab9cc904483846f47bdf3cc66c15ddca0c4145675790a1124c8d932a7cefc8661cfe21bf0
7
+ data.tar.gz: 66f5d897da5d6ebb3e6254f4be24c3c88c24e35634b37097b159b5765114a8ad5c543c07996804a2581526069d5b193a4eaf3b08f575b21e9a2bab7fcb6f2fa3
@@ -12,6 +12,26 @@ class Jam_Func
12
12
 
13
13
  end # === module ============================
14
14
 
15
+ module DSL # ================================
16
+
17
+ def jam
18
+ @the_jam ||= Jam_Func.new
19
+ end
20
+
21
+ def on *args
22
+ jam.on(*args)
23
+ end
24
+
25
+ def on_error *args
26
+ jam.on_error(*args)
27
+ end
28
+
29
+ def run *args
30
+ jam.run(*args)
31
+ end
32
+
33
+ end # =======================================
34
+
15
35
  include Helpers
16
36
 
17
37
  def initialize *args
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Jam_Func
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - da99