Class: Seahorse::StringIO

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/seahorse/stringio.rb

Instance Method Summary collapse

Constructor Details

#initialize(data = '') ⇒ StringIO

Returns a new instance of StringIO.



5
6
7
8
# File 'lib/seahorse/stringio.rb', line 5

def initialize(data = '')
  @io = ::StringIO.new(data)
  super(@io)
end