method

read_until_dashes

ruby latest stable - Class: Gem::OldFormat

Method deprecated or moved

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)
private

Reads lines from the supplied IO until a end-of-yaml (—) is reached

file

IO

The IO to process

block

String

The read line