Class: Tk::Text::IndexString (Ruby 2.3.4)

In Files

  • tk/lib/tk/text.rb

Parent

Methods

Included Modules

Class/Module Index [+]

Quicksearch

Tk::Text::IndexString

Public Class Methods

at(x,y)
 
               # File tk/lib/tk/text.rb, line 238
def self.at(x,y)
  self.new("@#{x},#{y}")
end
            
new(str)
 
               # File tk/lib/tk/text.rb, line 242
def self.new(str)
  if str.kind_of?(String)
    super(str)
  elsif str.kind_of?(Symbol)
    super(str.to_s)
  else
    str
  end
end
            

Public Instance Methods

id()
 
               # File tk/lib/tk/text.rb, line 252
def id
  self
end