Class: Shrine::Storage::Linter::FakeIO

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/shrine/storage/linter.rb

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ FakeIO

Returns a new instance of FakeIO.


164
165
166
# File 'lib/shrine/storage/linter.rb', line 164

def initialize(content)
  @io = StringIO.new(content)
end