# File lib/simp/cli/config/items/list_item.rb, line 35 def query_extras( q ) # NOTE: this is a hack to massage Array input to/from a highline query. # It would probably be better (but more complex) to provide native Array # support for highline. # TODO: Override #query_ask using Highline's #gather? q.default = q.default.join( " " ) if q.default.is_a? Array q.question = "#{instructions}\n#{q.question}" q end