Class: StringBuffer

Inherits:
Object
  • Object
show all
Defined in:
lib/net_shell/io.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStringBuffer

Returns a new instance of StringBuffer.



5
6
7
# File 'lib/net_shell/io.rb', line 5

def initialize
  @string = ""
end

Instance Attribute Details

#stringObject

Returns the value of attribute string.



4
5
6
# File 'lib/net_shell/io.rb', line 4

def string
  @string
end