{"id":59,"date":"2019-12-06T00:23:10","date_gmt":"2019-12-05T15:23:10","guid":{"rendered":"https:\/\/blog.d-sato.net\/?p=59"},"modified":"2019-12-06T10:40:28","modified_gmt":"2019-12-06T01:40:28","slug":"ruby-%e3%81%a7-%e7%b5%b1%e8%a8%88%e3%83%bb%e6%a9%9f%e6%a2%b0%e5%ad%a6%e7%bf%92%e3%81%ae%e7%8f%be%e7%8a%b6%e3%81%a8pycall","status":"publish","type":"post","link":"https:\/\/blog.d-sato.net\/?p=59","title":{"rendered":"ruby \u3067 \u7d71\u8a08\u30fb\u6a5f\u68b0\u5b66\u7fd2\u306e\u73fe\u72b6\u3068PyCall"},"content":{"rendered":"\n<p>\u30da\u30d1\u30dc\u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u7528\u306e\u8a18\u4e8b\u3002\u3068\u3066\u3082\u30d6\u30ed\u30b0\u66f8\u304f\u306e\u4e45\u3057\u3076\u308a\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3051\u308c\u3069\u3001\u3084\u3063\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<p>\u30af\u30ea\u30b9\u30de\u30b9\u3063\u307d\u3044\u8a18\u4e8b\u3092\u66f8\u304d\u305f\u304b\u3063\u305f\u3051\u3069\u3001\u306a\u3093\u306b\u3082\u601d\u3044\u3064\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001Ruby * \u6a5f\u68b0\u5b66\u7fd2\u306e\u304a\u8a71\u3092\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002\u6b86\u3069\u611f\u60f3\u3068\u3082\u3068\u308c\u308b\u8a18\u4e8b\u306a\u306e\u3067\u3001\u30b3\u30e9\u30e0\u7a0b\u5ea6\u306b\u304a\u8aad\u307f\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<h2>\u6a5f\u68b0\u5b66\u7fd2\u306e\u8a00\u8a9e\u3068\u8a00\u3048\u3070<\/h2>\n\n\n\n<p>\u6a5f\u68b0\u5b66\u7fd2\u3092\u3084\u308d\u3046\uff01\u3068\u601d\u3063\u305f\u4eba\u304c\u307e\u305a\u6700\u521d\u306b\u89e6\u308c\u308b\u8a00\u8a9e\u306f\uff08\u8fd1\u5e74\u306f\uff09\u8a00\u308f\u305a\u3082\u304c\u306aPython\u3060\u3068\u601d\u3044\u307e\u3059\u3002\u591a\u304f\u306e\u4eba\u306f\u306a\u305cPython\u3092\u4f7f\u3046\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u307e\u307e\uff08\u3082\u3057\u304f\u306f\u79c1\u304c\u305d\u3046\u601d\u3063\u3066\u3044\u308b\u3060\u3051\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\uff09\u3001Python\u306b\u3088\u308b\u6a5f\u68b0\u5b66\u7fd2\u306e\u5165\u9580\u66f8\u3092\u624b\u306b\u53d6\u308a\u3001numpy\u3084matplotlib\u7b49\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7528\u3044\u3066\u5b66\u7fd2\u30fb\u958b\u767a\u3092\u884c\u3063\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br>\u3042\u308b\u3044\u306f\u3001\u8fd1\u3044\u5206\u91ce\u3067\u7d71\u8a08\u3092\u6271\u304a\u3046\u3068\u3044\u3046\u4eba\u306f\u3001\u306a\u3093\u3068\u306a\u304fR\u306e\u5165\u9580\u66f8\u3092\u624b\u306b\u53d6\u308a\u3001R\u306b\u3088\u308b\u7d71\u8a08\u89e3\u6790\u306a\u3069\u3092\u884c\u3063\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3>\u5225\u306b\u4ed6\u306e\u8a00\u8a9e\u3067\u3082\u3067\u304d\u306a\u3044\u308f\u3051\u3058\u3083\u306a\u3044<\/h3>\n\n\n\n<p>Python\u3084R\uff08\u4ee5\u4e0b\u306fR\u306b\u3064\u3044\u3066\u7701\u7565\u3057\u307e\u3059\uff09\u306f\u3068\u3066\u3082\u7d20\u6575\u306a\u8a00\u8a9e\u3067\u3059\u304c\u3001\u305f\u307e\u306b\u306f\u4ed6\u306e\u8a00\u8a9e\u3067\u66f8\u304d\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u308c\u306f\u3001\u4ed6\u306e\u8a00\u8a9e\u306e\u52d5\u4f5c\u74b0\u5883\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u5fc5\u8981\u6027\u3092\u611f\u3058\u3066\u306e\u3053\u3068\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3057\u3001\u6c17\u5206\u3092\u5909\u3048\u305f\u3044\u3068\u3044\u3046\u6c17\u6301\u3061\u3082\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3082\u3061\u308d\u3093\u3001\u4ed6\u306e\u4efb\u610f\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u540c\u69d8\u306e\u8a08\u7b97\u3092\u884c\u3046\u3053\u3068\u306f\u51fa\u6765\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3069\u3046\u3057\u3066\u305d\u308c\u304c\u884c\u308f\u308c\u3066\u3044\u306a\u3044\u304b\u3002\u305d\u306e\u7406\u7531\u306f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u91cf\u3068\u8a08\u7b97\u306e\u901f\u5ea6\u30fb\u5b89\u5b9a\u6027\u306b\u5927\u304d\u306a\u7406\u7531\u304c\u3042\u308b\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2>Ruby\u3067\u306f\u30fb\u30fb\u30fb<\/h2>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u79c1\u304c\u3044\u307e\u4ed5\u4e8b\u3067\u4f7f\u3063\u3066\u3044\u308bRuby\u3068\u3044\u3046\u8a00\u8a9e\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5f53\u3066\u3066\u307f\u308b\u3068\u3001numpy \u306e\u4ee3\u308f\u308a\u306b\u306a\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u3001 numo, GPU\u3067\u9ad8\u901f\u306b\u51e6\u7406\u3057\u305f\u3044\u3068\u3044\u3046\u30cb\u30fc\u30ba\u306b\u306f\u3001cupy \u306e\u4ee3\u308f\u308a\u306b cumo\u3068\u3044\u3046\u9078\u629e\u80a2\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u3053\u3068\u3067\u4e00\u5fdc\u306f\u79d1\u5b66\u8a08\u7b97\u3084\u591a\u6b21\u5143\u884c\u5217\u306e\u6f14\u7b97\u306a\u3069\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u8a66\u307f\u3068\u3057\u3066\u306f\u975e\u5e38\u306b\u9762\u767d\u304f\u3001\u500b\u4eba\u7684\u306b\u306f\u975e\u5e38\u306b\u5fdc\u63f4\u3057\u3066\u3044\u308b\u3082\u306e\u306e\u3001\u5b66\u751f\u304c\u521d\u5b66\u3067\u5b66\u3076\u306b\u9069\u3057\u3066\u3044\u308b\u304b\u3001\u5b9f\u52d9\u306b\u8010\u3048\u3046\u308b\u304b\u3002\u3068\u3044\u3046\u554f\u306b\u5bfe\u3057\u3066\u306f\u9996\u3092\u7e26\u306b\u632f\u308a\u3065\u3089\u3044\u306e\u304c\u6b63\u76f4\u306a\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u306f\u3069\u3046\u3057\u3066\u304b\u3002\u79c1\u81ea\u8eab\u306f\u3001numpy\u3092\u521d\u3081\u3068\u3059\u308bpython\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u7fa4\u306b\u306f\u5927\u5b66\u6642\u4ee3\u306e\u7814\u7a76\u3067\u975e\u5e38\u306b\u304a\u4e16\u8a71\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u305d\u306e\u3068\u304d\u3001\u79c1\u304c\u8e8a\u8e87\u305b\u305apython\u3092\u9078\u3076\u3053\u3068\u304c\u51fa\u6765\u305f\u306e\u306f\u30ca\u30ec\u30c3\u30b8\u306e\u81a8\u5927\u3055\u3067\u3057\u305f\u3002\u66f8\u5e97\u306b\u884c\u3051\u3070\u5165\u9580\u66f8\u306f\u3059\u3079\u3066python, \u5927\u5b66\u306e\u6307\u5c0e\u6559\u5b98\u3082python\u3092\u4f7f\u3063\u3066\u3044\u308b\u3002\u305d\u3057\u3066\u30e9\u30a4\u30d6\u30e9\u30ea\u7fa4\u306f\u3059\u3067\u306b\u5b89\u5b9a\u3057\u3066\u3044\u3066\u76f4\u9762\u3059\u308b\u6b86\u3069\u306e\u30d0\u30b0\u306f\u65e2\u77e5\u3068\u306a\u3063\u3066\u3044\u3066\u5bfe\u51e6\u6cd5\u304c\u660e\u3089\u304b\u3002\u305d\u306e\u3088\u3046\u306a\u74b0\u5883\u304c\u79c1\u306bpython\u3092\u9078\u3070\u305b\u305f\u8a33\u3067\u3059\u3002\u79c1\u3068\u540c\u3058\u3088\u3046\u306b\u3001\u521d\u5b66\u3067\u59cb\u3081\u3088\u3046\u3068\u3059\u308b\u4eba\u306b\u306f\u4ed6\u306e\u8a00\u8a9e\u3067\u59cb\u3081\u308b\u3088\u308a\u30b9\u30e0\u30fc\u30ba\u306a\u5b66\u3073\u306b\u3064\u306a\u304c\u308b\u3068\u601d\u3046\u304b\u3089\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u5b9f\u52d9\u306b\u5bfe\u3057\u3066\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\u3002\u5b9f\u52d9\u3067\u4f7f\u3046\u3068\u304d\u306b\u91cd\u8981\u306a\u30ad\u30fc\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u30c7\u30fc\u30bf\u306e\u4fe1\u983c\u6027\u3001\u305d\u308c\u3068\u30b3\u30b9\u30c8\u3067\u3059\u3002Ruby\u306e\u79d1\u5b66\u8a08\u7b97\u30e9\u30a4\u30d6\u30e9\u30ea\u306fpython\u306e\u305d\u308c\u3089\u3068\u6bd4\u3079\u3066\u672a\u3060\u5e7e\u3070\u304f\u304b\u5b89\u5b9a\u6027\u306b\u6b20\u3051\u3066\u3044\u305f\u308a\u3001\u6a5f\u80fd\u306b\u6b20\u3051\u3066\u3044\u305f\u308a\u3059\u308b\u3068\u3053\u308d\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u70ba\u3001\u5fc5\u7136\u7684\u306b\u30c7\u30fc\u30bf\u306e\u4fe1\u983c\u6027\u304c\u304a\u3061\u305f\u308a\u30b3\u30b9\u30c8\u304c\u304b\u304b\u308a\u3084\u3059\u3044Ruby\u3092\u7528\u3044\u308b\u3088\u308a\u3082\u3001Python\u3092\u7528\u3044\u3088\u3046\u3068\u3059\u308b\u306e\u306f\u81ea\u7136\u306a\u6d41\u308c\u3060\u3068\u3044\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<h3>\u3068\u306f\u3044\u3048\u3001\u6c17\u306b\u306a\u308b<\/h3>\n\n\n\n<p>\u3068\u306f\u3044\u3048\u3001Ruby\u3067\u3069\u306e\u3088\u3046\u306b\u79d1\u5b66\u8a08\u7b97\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u306e\u304b\u6c17\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u4f55\u304b\u8a66\u3057\u306b\u52d5\u304b\u305b\u306a\u3044\u304b\u3002\u3068\u601d\u3063\u3066\u3044\u305f\u3089\u3068\u3066\u3082\u826f\u3044\u3082\u306e\u304c\u3042\u308a\u307e\u3057\u305f\u3002PyCall\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u308c\u306fPython\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u3092ruby\u3067\u6271\u3046\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3044\u3046\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3001\u3053\u308c\u3092\u7528\u3044\u308c\u3070\u79d1\u5b66\u8a08\u7b97\u3092Ruby\u3067\u884c\u3046\u3053\u3068\u3082\u671f\u5f85\u304c\u6301\u3066\u305d\u3046\u3067\u3059\u3002\u5e78\u3044\u306b\u3082<a href=\"https:\/\/magazine.rubyist.net\/articles\/0055\/0055-pycall.html\">\u308b\u3073\u307e\uff08Ruby Magazine\uff09\u306b\u3074\u3063\u305f\u308a\u306e\u8a18\u4e8b<\/a>\u304c\u3042\u3063\u305f\u306e\u3067\u3053\u3061\u3089\u3092\u53c2\u8003\u306b\u3057\u3064\u3064\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u52d5\u304b\u3059\u3068\u3053\u308d\u307e\u3067\u3084\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3>PyCall\u3067 ruby with jupyter&nbsp;notebook<\/h3>\n\n\n\n<p>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u9762\u5012\u306a\u306e\u3067docker image\u3092\u7528\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"> <code>docker run -p 8888:8888 -it --rm --name iruby -v ~:\/notebooks\/local rubydata\/pycall<\/code> <\/pre>\n\n\n\n<p>\u3053\u308c\u3060\u3051\u3067\u3001  &nbsp;<a href=\"http:\/\/localhost:8888\/?token=2f8dda92daa9c28326baf5024d5b8883ca36dcb0e470f885\">http:\/\/localhost:8888<\/a> \u306bjupyter notebook\u304c\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u4e2d\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">require 'matplotlib\/iruby'\n Matplotlib::IRuby.activate\n require 'pycall\/import'\n include PyCall::Import\n pyimport 'numpy', as: 'np'\n plt = Matplotlib::Pyplot\nplt.xkcd do\n   # Based on \"Stove Ownership\" from XKCD by Randall Monroe\n   # http:\/\/xkcd.com\/418\/\n fig = plt.figure()\n   ax = fig.add_axes(PyCall.tuple(0.1, 0.2, 0.8, 0.7))\n   ax.spines['right'].set_color('none')\n   ax.spines['top'].set_color('none')\n   plt.xticks([])\n   plt.yticks([])\n   ax.set_ylim([-30, 10])\n data = np.ones.(100)\n   data[PyCall.slice(70, nil)] -= np.arange.(30)\n plt.annotate(\n     \"THE DAY I REALIZED\\nI COULD COOK BACON\\nWHENEVER I WANTED\",\n     xy: PyCall.tuple(70, 1),\n     arrowprops: { arrowstyle: '-&gt;' },\n     xytext: PyCall.tuple(15, -10)\n   )\n plt.plot(data)\n plt.xlabel('time')\n   plt.ylabel('my overall health')\n   fig.text(\n     0.5, 0.05,\n     '\"Stove Ownership\" from xkcd by Randall Monroe',\n     ha: 'center'\n   )\n # Based on \"The Data So Far\" from XKCD by Randall Monroe\n   # http:\/\/xkcd.com\/373\/\n fig = plt.figure()\n   ax = fig.add_axes(PyCall.tuple(0.1, 0.2, 0.8, 0.7))\n   ax.bar([0, 1], [0, 100], 0.25)\n   ax.spines['right'].set_color('none')\n   ax.spines['top'].set_color('none')\n   ax.xaxis.set_ticks_position('bottom')\n   ax.set_xticks([0, 1])\n   ax.set_xlim([-0.5, 1.5])\n   ax.set_ylim([0, 110])\n   ax.set_xticklabels([\"CONFIRMED BY\\nEXPERIMENT\", \"REFUTED BY\\nEXPERIMENT\"])\n   plt.yticks([])\n plt.title(\"CLAIMS OF SUPERNATURAL POWERS\")\n fig.text(\n     0.5, 0.05,\n     '\"The Data So Far\" from xkcd by Randall Monroe',\n     ha: 'center'\n   )\n end<\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u307e\u3055\u3057\u304fRuby\u3067\u304b\u304b\u308c\u3066\u3044\u308b\u3082\u306e\u306e\u3001numpy\u3084matplotlib\u3092\u7528\u3044\u308b\u3053\u3068\u304c\u51fa\u6765\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3001\u7d14\u7c8b\u306bRuby\u72ec\u529b\u3067\u306f\u306a\u3044\u3082\u306e\u306e\u3001\u5171\u5b58\u3057\u3066\u3044\u304f\u3088\u3046\u306a\u4ed5\u7d44\u307f\u3082\u975e\u5e38\u306b\u91cd\u8981\u3060\u3068\u601d\u3063\u3066\u3044\u3066\u3001\u3084\u308a\u305f\u3044\u3053\u3068\u304c\u4efb\u610f\u306e\u8a00\u8a9e\u3067\u51fa\u6765\u308b\u74b0\u5883\u3068\u3044\u3046\u306e\u306f\u3068\u3066\u3082\u9b45\u529b\u7684\u3067\u3059\u3002<br>\u203b\u540c\u7b49\u306e\u30b3\u30fc\u30c9\u3092python\u3067\u304b\u304f\u3068<a href=\"https:\/\/matplotlib.org\/examples\/showcase\/xkcd.html\">\u3053\u308c\u3067\u3059<\/a><\/p>\n\n\n\n<h2>\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u3044\u308d\u3044\u308d\u66f8\u3044\u3066\u304d\u305f\u3082\u306e\u306e\u3001\u73fe\u72b6Ruby\u3068Python\u3092\u6bd4\u3079\u308b\u3068\u6a5f\u68b0\u5b66\u7fd2\u3084\u79d1\u5b66\u8a08\u7b97\u3001\u7d71\u8a08\u3092\u884c\u3046\u9762\u306b\u304a\u3044\u3066Ruby\u306f\u529b\u4e0d\u8db3\u611f\u304c\u5426\u3081\u305a\u3001\u521d\u5b66\u8005\u3084\u5b9f\u52d9\u306b\u306f\u5411\u304b\u306a\u3044\u3002\u304c\u3057\u304b\u3057\u3001Ruby\u3067\u3082\u305d\u3046\u3044\u3063\u305f\u3053\u3068\u3084\u3063\u3066\u307f\u305f\u3044\u3067\u3059\u3088\u306d\u3002\u3068\u3044\u3046\u3068\u3053\u308d\u306b\u5bfe\u3057\u3066\u9762\u767d\u3044\u306a\u3042\u3068\u601d\u3063\u305fPyCall\u306e\u53d6\u308a\u7d44\u307f\u306b\u3064\u3044\u3066\u611f\u60f3\u3092\u4ea4\u3048\u3064\u3064\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u9069\u6750\u9069\u6240\u3067\u3064\u304b\u3063\u3066\u3044\u304f\u306e\u3082\u3082\u3061\u308d\u3093\u91cd\u8981\uff08\u3060\u3057\u305d\u3046\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u5c40\u9762\u306f\u591a\u3005\u3042\u308b\uff09\u3067\u3059\u304c\u3001\u540c\u3058\u8a00\u8a9e\u304c\u6280\u8853\u9818\u57df\u3092\u30b0\u30ed\u30fc\u30d0\u30eb\u306b\u4f7f\u3048\u308b\u306e\u3082\uff08\u982d\u8133\u306e\uff09\u5207\u308a\u66ff\u3048\u30b3\u30b9\u30c8\u304c\u5c11\u306a\u304f\u3066\u79c1\u306f\u597d\u304d\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u3067\u306f\u3001\u307f\u306a\u3055\u3093\u3002\u30e1\u30ea\u30fc\u30af\u30ea\u30b9\u30de\u30b9\ud83c\udf84\u3002<\/p>\n\n\n\n<h6>\u514d\u8cac\u4e8b\u9805<\/h6>\n\n\n\n<p>\u3053\u306e\u6587\u7ae0\u306f\u7b46\u8005\u306e\u6240\u5c5e\u3059\u308b\u7d44\u7e54\u306e\u7dcf\u610f\u3084\u4ee3\u8868\u3092\u3059\u308b\u610f\u56f3\u306f\u306a\u304f\u3001\u500b\u4eba\u3068\u3057\u3066\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u6587\u8cac\u306f\u7b46\u8005\u81ea\u8eab\u306b\u3042\u308a\u3001\u95a2\u4fc2\u3059\u308b\u7d44\u7e54\u3068\u306f\u306a\u3093\u3089\u95a2\u308f\u308a\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u8a18\u8ff0\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u6ce8\u610f\u3092\u6255\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u5f15\u7528\u30fb\u8a18\u4e8b\u5185\u5bb9\u3092\u6d3b\u7528\u3055\u308c\u308b\u969b\u306b\u306f\u4ed6\u306e\u60c5\u5831\u3082\u3054\u53c2\u7167\u3044\u305f\u3060\u304d\u3001\u5185\u5bb9\u306e\u6b63\u78ba\u6027\u306b\u3064\u3044\u3066\u3054\u81ea\u8eab\u3067\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30da\u30d1\u30dc\u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u7528\u306e\u8a18\u4e8b\u3002\u3068\u3066\u3082\u30d6\u30ed\u30b0\u66f8\u304f\u306e\u4e45\u3057\u3076\u308a\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u3051\u308c\u3069\u3001\u3084\u3063\u3066\u3044\u304f\u3002 \u30af\u30ea\u30b9\u30de\u30b9\u3063\u307d\u3044\u8a18\u4e8b\u3092\u66f8\u304d\u305f\u304b\u3063\u305f\u3051\u3069\u3001\u306a\u3093\u306b\u3082\u601d\u3044\u3064\u304b\u306a\u304b\u3063\u305f\u306e\u3067\u3001Ruby * \u6a5f\u68b0\u5b66\u7fd2\u306e\u304a\u8a71\u3092\u66f8\u3044\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059&hellip;<\/p>\n","protected":false},"author":1,"featured_media":65,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[6,4],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/blog.d-sato.net\/wp-content\/uploads\/2019\/12\/469ed0b72677f9f772ea487211c3919d_m.jpg?fit=1920%2C1369&ssl=1","_links":{"self":[{"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/posts\/59"}],"collection":[{"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59"}],"version-history":[{"count":6,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":67,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/posts\/59\/revisions\/67"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=\/wp\/v2\/media\/65"}],"wp:attachment":[{"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.d-sato.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}