Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/rope/string_methods.rb

Instance Method Summary collapse

Instance Method Details

#to_ropeObject

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