lib/weather_hacker/client.rb
def pref_by_city
      @pref_by_city ||= begin
        update_area_table
        @pref_by_city
      end
    end
# use this wehn you want to update AreaData
use this wehn you want to update AreaData
use this wehn you want to update AreaData
def pref_by_city
      @pref_by_city ||= begin
        update_area_table
        @pref_by_city
      end
    end
def pref_by_city @pref_by_city ||= begin update_area_table @pref_by_city end end
use this wehn you want to update AreaData
use this wehn you want to update AreaData