Sha256: f2c9f340a516813959c894059585c26fb4589521441e15e2f488e871f6baba9c
Contents?: true
Size: 362 Bytes
Versions: 4
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true # Adapter for StringIO for compatibility with RubyZip. # # StringIO does not inherit from IO, so RubyZip does not accept StringIO in place of IO. class Coursemology::Evaluator::StringIO < ::StringIO def is_a?(klass) klass == IO || super end # RubyZip assumes all IO objects respond to path. def path self end end
Version data entries
4 entries across 4 versions & 1 rubygems