The method_option as shown below works expectedly:
method_option :force, :type => :boolean, :default => false,
:aliases => "-f", :desc => "forcely replace"
When using format below, it does not work
method_option :force => false, :aliases => "-f", :desc => "forcely replace"
If the code is wrong, the sample on the document below should be written in more detail.
Thanks!
The method_option as shown below works expectedly:
When using format below, it does not work
If the code is wrong, the sample on the document below should be written in more detail.
Thanks!