{"blog_url":"https://secret-garden.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2015%2F10%2F10%2F000000\" title=\"Ruby \u3067\u30b7\u30a7\u30eb\u306e\u5358\u8a9e\u3067\u5206\u5272\u3059\u308b - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby \u3067\u30b7\u30a7\u30eb\u306e\u5358\u8a9e\u3067\u5206\u5272\u3059\u308b","published":"2015-10-10 00:00:00","blog_title":"Secret Garden(Instrumental)","type":"rich","image_url":null,"provider_url":"https://hatena.blog","url":"https://secret-garden.hatenablog.com/entry/2015/10/10/000000","provider_name":"Hatena Blog","version":"1.0","author_name":"osyo-manga","categories":["Ruby"],"description":"Ruby \u3067\u6587\u5b57\u5217\u304b\u3089\u30b7\u30a7\u30eb\u306e\u5358\u8a9e\u3067\u5206\u5272\u3059\u308b\u5834\u5408\u3001'' \u3084 \"\" \u306a\u3093\u304b\u3092\u8003\u616e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u5358\u306b\u30b9\u30da\u30fc\u30b9\u3067 split \u3059\u308b\u3060\u3051\u3067\u306f\u5bfe\u5fdc\u3067\u304d\u307e\u305b\u3093\u3002 \u305d\u3046\u3044\u3046\u6642\u306b\u306f shellwords \u30e2\u30b8\u30e5\u30fc\u30eb\u306e Shellwords.split \u304c\u5229\u7528\u3067\u304d\u307e\u3059\u3002 require \"shellwords\" Shellwords.split \"homu mami 'mado saya'\" # => [\"homu\", \"mami\", \"mado saya\"] [\u53c2\u7167] module Shellwords (Ruby 2.2.0) Ruby\u304b\u3089\u5916\u90e8\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u304d\u306fShellwords\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u4fbf\u5229 \u2026","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/osyo-manga/"}