Class | Mercenary::Option |
In: |
lib/mercenary/option.rb
|
Parent: | Object |
config_key | [R] | |
description | [R] | |
long | [R] | |
return_type | [R] | |
short | [R] |
Public: Check equivalence of two Options based on equivalence of their
instance variables
Returns true if all the instance variables are equal, false otherwise
Public: Fetch the array containing the info OptionParser is interested in
Returns the array which OptionParser#on wants
Public: Fetch an array of switches, including the short and long versions
Returns an array of two strings. An empty string represents no switch in that position.