Method: Main::Parameter::DSL#argument_optional
- Defined in:
- lib/main/parameter.rb
#argument_optional(bool = true) ⇒ Object
626 627 628 629 630 631 632 |
# File 'lib/main/parameter.rb', line 626 def argument_optional bool = true if bool param.argument :optional else param.argument false end end |