lib/google_timezone.rb in google_timezone-0.0.1 vs lib/google_timezone.rb in google_timezone-0.0.3

- old
+ new

@@ -1,15 +1,15 @@ require 'google_timezone/version' require 'google_timezone/base' require 'google_timezone/result' module GoogleTimezone - def fetch(*args) - Base.new(args).fetch - end + class << self + def fetch(*args) + Base.new(args).fetch + end - def fetch!(*args) - Base.new(args).fetch! + def fetch!(*args) + Base.new(args).fetch! + end end - - module_function :fetch, :fetch! end