Method: TclTkIp#default_encoding=
- Defined in:
- lib/tk.rb
#default_encoding=(name) ⇒ Object
2880 2881 2882 2883 |
# File 'lib/tk.rb', line 2880 def default_encoding=(name) name = name.name if Tk::WITH_ENCODING && name.kind_of?(::Encoding) @encoding[0] = name.to_s.dup end |