# File lib/hikidoc.rb, line 900 def getblock(term_re) buf = [] until_terminator(term_re) do |line| buf.push line end buf end