Skip to content

Instantly share code, notes, and snippets.

@sasamijp
Created October 3, 2013 12:55
Show Gist options
  • Save sasamijp/6809364 to your computer and use it in GitHub Desktop.
Save sasamijp/6809364 to your computer and use it in GitHub Desktop.
macでweather_jpいれてkyokoさんに設定すると動くと思います
# -*- encoding: utf-8 -*-
require 'rubygems'
require 'weather_jp'
local = WeatherJp.get gets.to_s
system("say #{local.today.to_s}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment