Class: UsageMod::Choices
- Inherits:
-
Array
- Object
- Array
- UsageMod::Choices
- Defined in:
- lib/Usage.rb
Overview
This class is an array to hold the choices for an option
Instance Method Summary collapse
-
#initialize(array) ⇒ Choices
constructor
A new instance of Choices.
Constructor Details
#initialize(array) ⇒ Choices
Returns a new instance of Choices.
254 255 256 |
# File 'lib/Usage.rb', line 254 def initialize(array) array.each {|a| self.push(a)} end |