73 74 75
# File 'lib/ffi-tk/core_extensions.rb', line 73 def to_tcl TclString.new('"' << gsub(/[\[\]$"\\]/, '\\\\\&') << '"') end
77 78 79
# File 'lib/ffi-tk/core_extensions.rb', line 77 def to_tcl_option TclString.new(sub(/\A(?=[^-])/, '-')) end