Module: StringBuffer
- Defined in:
- lib/string_buffer.rb,
lib/string_buffer/version.rb,
ext/string_buffer/string_buffer.c
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.capacity(str) ⇒ Object
8 9 10 |
# File 'ext/string_buffer/string_buffer.c', line 8 def self.capacity(str) str.length end |
.new(capacity) ⇒ Object
3 4 5 |
# File 'ext/string_buffer/string_buffer.c', line 3 def self.new(capacity) "" end |