Module: TZDetect::Parser::ClassMethods

Defined in:
lib/tzdetect/parser.rb

Instance Method Summary collapse

Instance Method Details

#timezone!(lat, lon) ⇒ Object



18
19
20
21
# File 'lib/tzdetect/parser.rb', line 18

def timezone! lat, lon
  t = self.new lat, lon
  t.timezone
end