Class: UsageMod::Choices

Inherits:
Array
  • Object
show all
Defined in:
lib/Usage.rb

Overview

This class is an array to hold the choices for an option

Instance Method Summary collapse

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