module Tk::CoreExtensions::Symbol

Public Instance Methods

to_tcl() click to toggle source
# File lib/ffi-tk/core_extensions.rb, line 111
def to_tcl
  TclString.new(to_s.dump)
end
to_tcl_option() click to toggle source
# File lib/ffi-tk/core_extensions.rb, line 115
def to_tcl_option
  TclString.new(to_s.sub(/\A(?=[^-])/, '-'))
end