Method: Console.puts
- Defined in:
- lib/tecsgen/core/tecs_lang.rb
.puts(str) ⇒ Object
299 300 301 302 303 304 305 |
# File 'lib/tecsgen/core/tecs_lang.rb', line 299 def self.puts(str) if $ENCODING_CONSOLE == Encoding::BINARY STDOUT.puts(str) else STDOUT.puts(str.encode($ENCODING_CONSOLE)) end end |