This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.
read_until_dashes(file)
Reads lines from the supplied IO until a end-of-yaml (—) is reached
file
The IO to process
block
The read line
# File lib/rubygems/old_format.rb, line 115 def self.read_until_dashes(file) while((line = file.gets) && line.chomp.strip != "---") do yield line end end