lib/rbatch/config.rb in rbatch-1.12.2 vs lib/rbatch/config.rb in rbatch-1.12.3
- old
+ new
@@ -6,12 +6,14 @@
module_function
# Alias of RBatch::Config.new
def config ; Config.new end
- # Read config file and return hash opject.
+ # Config Reader
+ #
+ # Read config file and return hash opject. If the key does not exist in config file, raise RBatch::Config::Exception.
#
- # Default config file path is "../conf/(Program Base name).yaml"
+ # Default config file path is "../conf/(base-name of Program file).yaml"
# ==== Sample
# config : ./conf/sample2.yaml
# key: value
# array:
# - item1