Method: Tk::Clock.formatGMT

Defined in:
lib/tk/clock.rb

.formatGMT(clk, form = nil) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/tk/clock.rb', line 38

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