Method: TclTkIp#encoding_obj

Defined in:
lib/tk.rb

#encoding_objObject



2898
2899
2900
2901
2902
2903
2904
# File 'lib/tk.rb', line 2898

def encoding_obj
  if Tk::WITH_ENCODING
    Tk::Encoding.tcl2rb_encoding(@encoding[0])
  else
    (@encoding[0])? @encoding[0].dup: nil
  end
end