Module OptiFlag::Flagset
In: ../src/optiflag-help.rb
../src/optiflag-parse.rb
../src/optiflag.rb

testing to see if this shows (2)

Methods

Classes and Modules

Module OptiFlag::Flagset::Help
Module OptiFlag::Flagset::NewInterface
Class OptiFlag::Flagset::EachFlag
Class OptiFlag::Flagset::Errors

Attributes

dash_symbol  [R] 
help_bundle  [RW] 

Public Class methods

method called by ‘send’ using a hash of values, the key being the name of the method (this method) and the value being the parameter to be passed to the method. Therefore,

  module Example extend OptiFlagSet(:flag_symbol => "/")

is invoking this method ‘flag_symbol’ and passing the value "/" as the parameter. See the RDoc for the methodOptiFlag::Flagset()’ in the OptiFlag module, not the module OptiFlag::Flagset which it resembles.

This method, when invoked using the above expression changes the default flag symbol from "-" to whatever is passed in. Thus, if we wanted to simulate the MSDos flags, we would use:

  module Example extend OptiFlagSet(:flag_symbol => "/")

which would then parse a command line looking like:

  /h /renew /username daniel /password fluffy

Public Instance methods

and_process!(options={})

top-level flag-declarer

Special command (at the same level as a flag declaration)

properties(symb,hash={},&the_block)

Alias for flag_properties

top-level flag-declarer

[Validate]