Method: Tk::Clock.format

Defined in:
lib/tk/clock.rb

.format(clk, form = nil) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/tk/clock.rb', line 30

def self.format(clk, form=nil)
  if form
    tk_call('clock','format',clk,'-format',form)
  else
    tk_call('clock','format',clk)
  end
end