require 'xcodeide/core_ext/string' module XcodeIDE class ArrayNode def initialize(io) @array = [] parse(io) end private def parse(io) ios = IOScanner.new(io) while delim = ios.delimit case delim when ?) return when ?, item = ios.term.decomment.strip @array << item end end end end end