rbatch 1.6.0 → 1.6.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.
- data/README.ja.md +6 -0
- data/README.md +6 -0
- data/Rakefile +1 -1
- metadata +2 -2
data/README.ja.md
CHANGED
@@ -70,6 +70,12 @@ array:
|
|
70
70
|
require 'rbatch'
|
71
71
|
p RBatch::config
|
72
72
|
=> {"key" => "value", "array" => ["item1", "item2", "item3"]}
|
73
|
+
p RBatch::config["key"]
|
74
|
+
=> "value"
|
75
|
+
|
76
|
+
# もしキーが存在しない場合は自動的に例外が発生します
|
77
|
+
p RBatch::config["not_exist"]
|
78
|
+
=> Raise Exception
|
73
79
|
```
|
74
80
|
|
75
81
|
### 外部コマンド実行
|
data/README.md
CHANGED
@@ -68,6 +68,12 @@ script : ./bin/sample2.rb
|
|
68
68
|
require 'rbatch'
|
69
69
|
p RBatch::config
|
70
70
|
=> {"key" => "value", "array" => ["item1", "item2", "item3"]}
|
71
|
+
p RBatch::config["key"]
|
72
|
+
=> "value"
|
73
|
+
|
74
|
+
# If key does not exist , raise exception
|
75
|
+
p RBatch::config["not_exist"]
|
76
|
+
=> Raise Exception
|
71
77
|
```
|
72
78
|
|
73
79
|
### External Command Wrapper
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rbatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.6.
|
5
|
+
version: 1.6.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- fetaro
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-01-
|
13
|
+
date: 2013-01-21 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: ""
|