Method: Exec::ServiceConfApply#set_options
- Defined in:
- lib/exec/service_conf_apply.rb
#set_options ⇒ Object (private)
Parse and check the parameters of the function.
22 23 24 25 26 27 |
# File 'lib/exec/service_conf_apply.rb', line 22 def @logger.info("setting options") .add_option("C", "cluster", "The cluster name.", true, true, method(:check_cluster_name)) .add_option("T", "type", "The type of the configuration.", true, true) .add_option("t", "tag", "The tag of the configuration.", true, true) end |