{"id":6996,"date":"2019-11-17T07:44:21","date_gmt":"2019-11-16T22:44:21","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=6996"},"modified":"2023-05-27T22:35:20","modified_gmt":"2023-05-27T13:35:20","slug":"%e3%80%90ruby%e3%80%91%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e3%81%ae%e7%9f%a5%e8%ad%98","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=6996","title":{"rendered":"\u3010Ruby\u3011\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3064\u3044\u3066\u306e\u77e5\u8b58"},"content":{"rendered":"<p>Ruby\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u5927\u304d\u304fRuby\u6a19\u6e96\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b<span style=\"color: #ff0000;\"><strong>\u300c\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u300d<\/strong><\/span>\u3068\u6709\u5fd7\u306e\u65b9\u304c\u958b\u767a\u3055\u308c\u305f<span style=\"color: #ff0000;\"><strong>\u300c\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u300d<\/strong><\/span>\u306b\u5206\u304b\u308c\u307e\u3059\u3002<\/p>\n<h2>\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea<\/h2>\n<p>\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u300c\u7d44\u307f\u8fbc\u307f\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u3068\u300c\u7d44\u307f\u8fbc\u307f\u3067\u306f\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u306b\u5206\u304b\u308c\u307e\u3059\u3002<\/p>\n<h3>\u7d44\u307f\u8fbc\u307f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea<\/h3>\n<p>\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4e2d\u3067\u3082\u7279\u306b\u5229\u7528\u983b\u5ea6\u306e\u9ad8\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u7d44\u307f\u8fbc\u307f\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002Ruby\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4e00\u7dd2\u306b\u5165\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4>\u7d44\u307f\u8fbc\u307f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f8b<\/h4>\n<ul>\n<li>String<\/li>\n<li>Integer<\/li>\n<li>Array<\/li>\n<li>Hash<\/li>\n<\/ul>\n<p>\u7d44\u307f\u8fbc\u307f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u4e0b\u8a18\u30b5\u30a4\u30c8\u3092\u95b2\u89a7\u3059\u308c\u3070\u4e00\u89a7\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>https:\/\/docs.ruby-lang.org\/ja\/latest\/library\/_builtin.html<\/p>\n<h3>\u7d44\u307f\u8fbc\u307f\u3067\u306f\u306a\u3044\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea<\/h3>\n<p>Ruby\u672c\u4f53\u306b\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u3067\u3059\u304c\u3001\u672c\u4f53\u306b\u4ed8\u5c5e\u3057\u3066\u5165\u3063\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u540c\u3058\u3088\u3046\u306bRuby\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u5225\u9014\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n<h4>\u7d44\u307f\u8fbc\u307f\u3067\u306f\u306a\u3044\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f8b<\/h4>\n<ul>\n<li>date<\/li>\n<li>fileutils<\/li>\n<li>csv<\/li>\n<li>json<\/li>\n<li>yaml<\/li>\n<\/ul>\n<p>\u4e0b\u8a18\u306e\u30b5\u30a4\u30c8\u3092\u78ba\u8a8d\u3059\u308c\u3070\u4e00\u89a7\u3067\u8f09\u3063\u3066\u3044\u308b\u306e\u3067\u63a2\u3057\u3066\u307f\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>https:\/\/docs.ruby-lang.org\/ja\/latest\/library\/index.html<\/p>\n<h2>\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea<\/h2>\n<p>\u4ee3\u8868\u7684\u306a\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u306f<span style=\"color: #ff0000;\"><strong>\u300cgem\u300d<\/strong><\/span>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u3061\u3089\u3092\u4f7f\u3044\u305f\u3044\u5834\u5408\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\uff08\u3082\u3061\u308d\u3093\u3001Ruby\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bgem\u3082\u3042\u308a\u307e\u3059\u3002\uff09<\/p>\n<h3>gem<\/h3>\n<p>\u306a\u304a\u3001minitest\uff08\u30c6\u30b9\u30c8\u306e\u81ea\u52d5\u5316\u30e9\u30a4\u30d6\u30e9\u30ea\uff09\u3084rake\u7b49\u3001Ruby\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6642\u306b\u540c\u6642\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308bgem\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30db\u30fc\u30eb\u304c\u6f5c\u3093\u3067\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u3063\u305f\u308aRuby\u306e\u6700\u65b0\u7248\u3067\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u306a\u308b\u3079\u304fgem\u306f<span style=\"color: #ff0000;\"><strong>\u6700\u65b0\u306e\u3082\u306e\u3092\u4f7f\u3046<\/strong><\/span>\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>gem\u306e\u4f8b<\/h4>\n<ul>\n<li>bundler<\/li>\n<li>rails<\/li>\n<li>rspec<\/li>\n<li>nokogiri<\/li>\n<li>sinatra<\/li>\n<\/ul>\n<h2>\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u306b\u306f<\/h2>\n<p>\u7d44\u307f\u8fbc\u307f\u3067\u306f\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u660e\u793a\u7684\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8aad\u307f\u8fbc\u3080<\/strong><\/span>\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true \">require \u30e9\u30a4\u30d6\u30e9\u30ea\u540d<\/pre>\n<p>\u307e\u305f\u3001<span style=\"color: #ff0000;\"><strong>\u81ea\u5206\u304c\u4f5c\u6210\u3057\u305f\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u8aad\u307f\u8fbc\u3080\u5834\u5408<\/strong><\/span>\u306b\u3082\u540c\u69d8\u306e\u5ba3\u8a00\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u6307\u5b9a\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001<span style=\"color: #ff0000;\"><strong>Ruby\u306e\u5b9f\u884c\u30d1\u30b9\u304b\u3089\u306e\u76f8\u5bfe\u30d1\u30b9<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002\u81ea\u5206\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u57fa\u70b9\u3068\u3057\u305f\u3044\u5834\u5408\u306f\u300crequire\u300d\u3067\u306f\u306a\u304f<span style=\"color: #ff0000;\"><strong>\u300d\u300crequire_relative\u300d<\/strong><\/span>\u3092\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Ruby\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u5927\u304d\u304fRuby\u6a19\u6e96\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u300c\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u3068\u6709\u5fd7\u306e\u65b9\u304c\u958b\u767a\u3055\u308c\u305f\u300c\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u306b\u5206\u304b\u308c\u307e\u3059\u3002 \u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea \u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u300c\u7d44\u307f\u8fbc\u307f\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u3068\u300c\u7d44\u307f\u8fbc\u307f\u3067\u306f\u306a\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u306b\u5206 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[48],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6996"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6996"}],"version-history":[{"count":13,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6996\/revisions"}],"predecessor-version":[{"id":20478,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/6996\/revisions\/20478"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6996"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}