Sha256: 0cf1388d8c1e456e8b56828f440bf438cbdeff8c14e535d91b54efaa0c083eef

Contents?: true

Size: 204 Bytes

Versions: 147

Compression:

Stored size: 204 Bytes

Contents

class DataTooShort < StandardError; end

class IoProcessor
  # Does some fancy stuff unless the length of +io+ is shorter than 32
  def process(io)
    raise DataTooShort if io.read.length < 32
  end
end

Version data entries

147 entries across 147 versions & 22 rubygems

Version Path
dchelimsky-rspec-1.1.10 examples/pure/io_processor.rb
dchelimsky-rspec-1.1.11.1 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11.2 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11.3 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11.4 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11.5 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11.6 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11.7 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.11 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.12 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.1 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.13 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.2 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.3 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.4 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.5 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.6 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.7 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.8 examples/passing/io_processor.rb
dchelimsky-rspec-1.1.99.9 examples/passing/io_processor.rb