Method: TkLabelWatch#show
- Defined in:
- ext/ae-rad/lib/tk/al-tkcustom.rb
#show(_format = "%I:%M:%S %p") ⇒ Object
9 10 11 12 |
# File 'ext/ae-rad/lib/tk/al-tkcustom.rb', line 9 def show(_format="%I:%M:%S %p") t = Time.now configure('text'=>t.strftime(_format)) end |