-
-
Save morygonzalez/1281316 to your computer and use it in GitHub Desktop.
俳句が読みたくなった時用earthquake plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# haiku tweet / earthquake plugin | |
# | |
Earthquake.init do | |
command :haiku do |m| | |
input(":update #{m[1]} ここで一句、 %s" % [open("http://haiku.jgate.de/"){|f| f.read}]) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment