module Unicoder module Builder class Blocks include Builder def initialize_index @index = [] end def parse! parse_file :blocks, :line, regex: /^(?\S+?)\.\.(?\S+);\s(?.+)$/ do |line| @index << [line["from"].to_i(16), line["to"].to_i(16), line["name"]] end end end end end