class Tk::Text::IndexString
Public Class Methods
Source
# 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
Calls superclass method
# 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