Class: Seahorse::StringIO
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Seahorse::StringIO
- Defined in:
- lib/seahorse/stringio.rb
Instance Method Summary collapse
-
#initialize(data = '') ⇒ StringIO
constructor
A new instance of StringIO.
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 |