Jam_Func 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Jam_Func.rb +20 -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: 8b15131d84acb5acbcb606249aedc97bc4c36c22
|
4
|
+
data.tar.gz: 111fbcd6e6e21407718d1f423a4ca1cfc1176bdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 016d16cac328f90b4ed03675c1bb2ded351a4a0dd1f3012b4e4b11aab9cc904483846f47bdf3cc66c15ddca0c4145675790a1124c8d932a7cefc8661cfe21bf0
|
7
|
+
data.tar.gz: 66f5d897da5d6ebb3e6254f4be24c3c88c24e35634b37097b159b5765114a8ad5c543c07996804a2581526069d5b193a4eaf3b08f575b21e9a2bab7fcb6f2fa3
|
data/lib/Jam_Func.rb
CHANGED
@@ -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
|