Class: Tk::Text::IndexString
Class Method Summary
collapse
Instance Method Summary
collapse
#+, #-, #any_chars, #any_indices, #any_lines, #chars, #display_chars, #display_indices, #display_lineend, #display_lines, #display_linestart, #display_wordend, #display_wordstart, #indices, #lineend, #lines, #linestart, #wordend, #wordstart
Class Method Details
238
239
240
|
# File 'lib/tk/text.rb', line 238
def self.at(x,y)
self.new("@#{x},#{y}")
end
|
242
243
244
245
246
247
248
249
250
|
# File '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
|
Instance Method Details
252
253
254
|
# File 'lib/tk/text.rb', line 252
def id
self
end
|