2010-01-31から1日間の記事一覧
URIというライブラリを使う require 'uri' URI::join('http://example.com/a/b/foo.html','bar.html').to_s #=> http://example.com/a/b/bar.html
URIというライブラリを使う require 'uri' URI::join('http://example.com/a/b/foo.html','bar.html').to_s #=> http://example.com/a/b/bar.html