class Gherkin::Stream::ParserMessageStream
def sources
def sources Enumerator.new do |y| @paths.each do |path| source = Cucumber::Messages::Source.new( uri: path, data: File.open(path, 'r:UTF-8', &:read), media: Cucumber::Messages::Media.new( encoding: :UTF8, content_type: 'text/x.cucumber.gherkin+plain' ) ) y.yield(source) end @sources.each do |source| y.yield(source) end end end