Created
June 8, 2012 08:55
-
-
Save sawamur/2894579 to your computer and use it in GitHub Desktop.
doko
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
# from string | |
addrs = Doko.parse("..\n住所\n 東京都港区芝浦3-41 \n..\n...") | |
p addrs #=> ["東京都港区芝浦3-41"] | |
# from url | |
addrs = Doko.parse("http://r.tabelog.com/tokyo/A....") | |
p addrs #=> ["神奈川県横浜市中区.."] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment