Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

OptionParser::AC#ac_arg_enable

ac_arg_enable(name, help_string, &block)

Define --enable / --disable style option

Appears as --enable-<i>name</i> in help message.

See also #ac_arg_disable #ac_arg_with also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0