class Rope

Defined in:

rope.cr

Constant Summary

VERSION = "0.0.0"

Constructors

Instance Method Summary

Constructor Detail

def self.new(short : String) #

[View source]

Instance Method Detail

def +(other : self) : Rope #

[View source]
def +(other : String) : Rope #

[View source]
def byte_at(index) #

[View source]
def byte_at?(index) #

[View source]
def bytesize : Int32 #

[View source]
def left : self #

[View source]
def left? : self | Nil #

[View source]
def right : self #

[View source]
def right? : self | Nil #

[View source]
def short : String #

[View source]
def short? : String | Nil #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def weight : Int32 #

[View source]