Sha256: b8749c0a8527118b1ff8242e7e7fb302c5a5961c6d1ca1986a74c43d70af873f

Contents?: true

Size: 333 Bytes

Versions: 27

Compression:

Stored size: 333 Bytes

Contents

require 'cucumber/messages/varint'

module Cucumber
  module Messages
    class BinaryToMessageEnumerator < Enumerator
      def initialize(io)
        super() do |yielder|
          while !io.eof?
            yielder.yield(Cucumber::Messages::Envelope.parse_delimited_from(io))
          end
        end
      end
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
cucumber-messages-15.0.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-14.1.2 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-14.1.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-14.1.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-14.0.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-14.0.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-13.2.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-13.2.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-13.1.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-13.0.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-13.0.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.4.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.3.2 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.3.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.2.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.1.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.1.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-12.0.0 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-11.1.1 lib/cucumber/messages/binary_to_message_enumerator.rb
cucumber-messages-11.1.0 lib/cucumber/messages/binary_to_message_enumerator.rb