Class: StringBuffer
- Inherits:
-
Object
- Object
- StringBuffer
- Defined in:
- lib/net_shell/io.rb
Instance Attribute Summary collapse
-
#string ⇒ Object
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize ⇒ StringBuffer
constructor
A new instance of StringBuffer.
Constructor Details
#initialize ⇒ StringBuffer
Returns a new instance of StringBuffer.
5 6 7 |
# File 'lib/net_shell/io.rb', line 5 def initialize @string = "" end |
Instance Attribute Details
#string ⇒ Object
Returns the value of attribute string.
4 5 6 |
# File 'lib/net_shell/io.rb', line 4 def string @string end |