Module: TZWhere

Defined in:
lib/tzwhere/active_support.rb,
lib/tzwhere.rb,
lib/tzwhere/query.rb,
lib/tzwhere/version.rb

Overview

Defined Under Namespace

Classes: ActiveSupport, Query

Constant Summary collapse

VERSION =
"0.2.0"

Class Method Summary collapse

Class Method Details

.lookup(latitude, longitude) ⇒ Object



8
9
10
11
# File 'lib/tzwhere.rb', line 8

def lookup(latitude, longitude)
  @tzwhere ||= TZWhere::Query.new
  @tzwhere.lookup(latitude, longitude)
end