Class: Prawn::Svg::Parser::Image::FakeIO

Inherits:
Object
  • Object
show all
Defined in:
lib/prawn/svg/parser/image.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ FakeIO

Returns a new instance of FakeIO


5
6
7
# File 'lib/prawn/svg/parser/image.rb', line 5

def initialize(data)
  @data = data
end

Instance Method Details

#readObject


8
9
10
# File 'lib/prawn/svg/parser/image.rb', line 8

def read
  @data
end

#rewindObject


11
12
# File 'lib/prawn/svg/parser/image.rb', line 11

def rewind
end