Method: InputReader.get_array

Defined in:
lib/input_reader.rb

.get_array(options = {}) ⇒ Object



50
51
52
53
54
55
56
57
# File 'lib/input_reader.rb', line 50

def get_array(options = {})
  array         = []
  input_options = options.merge(:allow_blank => true)
  while input = self.get_input_with_exception_handling(input_options)
    array << input
  end
  array
end