Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rope/string_methods.rb
Instance Method Summary collapse
-
#to_rope ⇒ Object
Converts the String to a Rope.
Instance Method Details
#to_rope ⇒ Object
Converts the String to a Rope
3 4 5 |
# File 'lib/rope/string_methods.rb', line 3 def to_rope Rope::Rope.new(self) end |