#!/usr/bin/env ruby require 'tk'hello = TkRoot.newTkLabel.new( hello ) do text "\\n Hello, myValue! \\n" packendTk.mainloop#该片段来自于http://www.codesnippet.cn/detail/250220132207.html
来源: http://www.codesnippet.cn/detail/250220132207.html