{"id":14634,"date":"2017-01-25T17:36:28","date_gmt":"2017-01-25T08:36:28","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=14634"},"modified":"2024-05-06T11:40:15","modified_gmt":"2024-05-06T02:40:15","slug":"%e3%80%90%e3%82%a8%e3%83%b3%e3%82%b8%e3%83%8b%e3%82%a2%e7%9b%a3%e4%bf%ae%e3%80%91ruby-%e6%96%87%e5%ad%97%e5%88%97%e3%81%ae%e6%af%94%e8%bc%83%e3%82%92%e5%ae%8c%e5%85%a8%e7%90%86%e8%a7%a3%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/14634","title":{"rendered":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01Web\u30b3\u30fc\u30c0\u30fc\u30fb\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u8c9d\u539f\uff08<a href=\"https:\/\/twitter.com\/touhicomu\" target=\"_blank\" rel=\"noopener\">@touhicomu<\/a>\uff09\u3067\u3059\u3002<\/p>\n<p>\u4eca\u65e5\u306f\u3001Ruby\u306e\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u306b\u3064\u3044\u3066\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966\"><strong>Ruby\u306e\u6587\u5b57\u5217\u306e\u6bd4\u8f03<\/strong><\/span>\u306e\u3057\u304b\u305f\u306f\u3001\u8272\u3005\u3042\u3063\u3066\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u610f\u5916\u3068\u96e3\u3057\u3044<\/strong><\/span>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>Ruby\u306e\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u6f14\u7b97\u5b50\u3092\u3061\u3087\u3063\u3068\u4e26\u3079\u3066\u307f\u307e\u3059\u3068\u3001<\/p>\n<ul>\n<li><span style=\"color: #339966\"><strong>\u7b49\u53f7\u30e1\u30bd\u30c3\u30c9<\/strong><\/span>\n<ul>\n<li>==<\/li>\n<li>===<\/li>\n<li>eql?<\/li>\n<li>equal?<\/li>\n<\/ul>\n<\/li>\n<li><span style=\"color: #339966\"><strong>\u4e0d\u7b49\u53f7\u30e1\u30bd\u30c3\u30c9<\/strong><\/span>\n<ul>\n<li>&lt;<\/li>\n<li>&gt;<\/li>\n<li>&lt;=<\/li>\n<li>&gt;=<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u3068\u3001\u672c\u5f53\u306b\u69d8\u3005\u3067\u3059\u3002<br \/>\n\uff08\u306a\u304a\u3001Ruby\u3067\u306f\u3001\u6bd4\u8f03\u6f14\u7b97\u5b50\u306f\u3001\u5b9f\u8cea\u4e0a\u3001\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u3053\u308c\u3060\u3051\u305f\u304f\u3055\u3093\u6bd4\u8f03\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u3068\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u300c\u3044\u308d\u3044\u308d\u306a\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u3051\u3069\u3001\u3069\u3046\u9055\u3046\u306e\uff1f\u300d<\/strong><\/span>\u3068\u3044\u3046\u7591\u554f\u304c\u51fa\u3066\u304d\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u307e\u305f\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u300c\u6587\u5b57\u5217\u306e\u4e0d\u7b49\u53f7\u306e\u6bd4\u8f03\u3063\u3066\u3069\u3046\u3044\u3046\u610f\u5473\u306a\u306e\uff1f\u300d<\/strong><\/span>\u3068\u3044\u3046\u7591\u554f\u3082\u308f\u3044\u3066\u304d\u307e\u3059\u3002\u78ba\u304b\u306b\u3001\u6587\u5b57\u5217\u540c\u58eb\u3092\u4e0d\u7b49\u53f7\u3067\u6bd4\u8f03\u3059\u308b\u306a\u3093\u3066\u3001<span style=\"color: #ff0000\"><strong>\u3069\u3093\u306a\u610f\u5473\u304c\u3042\u308b\u304b\u308f\u304b\u308a\u306b\u304f\u3044<\/strong><\/span>\u3067\u3059\u3088\u306d\u3002<\/p>\n<p>\u305d\u3053\u3067\uff01\u4eca\u56de\u306f\u3001Ruby\u306e\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u306e\u3059\u3079\u3066\u306b\u3064\u3044\u3066\u3001\u5206\u304b\u308a\u3084\u3059\u304f\u6574\u7406\u3057\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>\u7b49\u53f7\u30e1\u30bd\u30c3\u30c9<\/h2>\n<h3>\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300c==\u300d<\/h3>\n<p><span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300c==\u300d<\/strong><\/span>\u306f\u3001\u6587\u5b57\u5217\u306e<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u300c\u5024\u300d\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b<\/strong><\/span>\u3092\u6bd4\u8f03\u3057\u307e\u3059\u3002<\/p>\n<p>\u6587\u5b57\u5217\u306e\u300c\u5024\u300d\u3068\u306f\u3001\u6587\u5b57\u5217\u305d\u306e\u3082\u306e\u3067\u3059\u3002\u201dabc\u201d\u3068\u3044\u3046\u6587\u5b57\u5217\u304c\u3042\u3063\u305f\u3089\u3001\u6587\u5b57\u5217\u306e\u5024\u306f\u201dabc\u201d\u3067\u3059\u3002<\/p>\n<p>\u6587\u5b57\u5217\u306e\u5024\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">if \"abc\" == \"abc\" then\r\n  p \"\u4e00\u81f4\"\r\nelse\r\n  p \"\u4e0d\u4e00\u81f4\"\r\nend\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"\u4e00\u81f4\"<\/pre>\n<p>\u6587\u5b57\u5217\u306e\u5024&#8221;abc&#8221;\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>\u4eca\u5ea6\u306f\u3001\u6587\u5b57\u5217\u306e\u5024\u304c\u4e00\u81f4\u3057\u306a\u3044\u5834\u5408\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">if \"abc\" == \"def\" then\r\n  p \"\u4e00\u81f4\"\r\nelse\r\n  p \"\u4e0d\u4e00\u81f4\"\r\nend\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"\u4e0d\u4e00\u81f4\"<\/pre>\n<p>\u4eca\u5ea6\u306f\u3001\u6587\u5b57\u5217\u306e\u5024&#8221;abc&#8221;\u3068&#8221;def&#8221;\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u7d50\u679c\u306f\u4e0d\u4e00\u81f4\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001<span style=\"color: #ff0000\"><strong>\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300c==\u300d\u306f\u3001\u6587\u5b57\u5217\u306e\u300c\u5024\u300d\u305d\u306e\u3082\u306e\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u6bd4\u8f03<\/strong><\/span>\u3057\u307e\u3059\u3002<\/p>\n<h3>\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300c===\u300d<\/h3>\n<p><span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300c===\u300d<\/strong><\/span>\u306f\u3001\u5148\u307b\u3069\u89e3\u8aac\u3057\u305f\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u300c==\u300d\u3068\u540c\u3058\u6bd4\u8f03<\/strong><\/span>\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u540c\u3058\u6bd4\u8f03\u3092\u884c\u3046\u306a\u3089\u3001<span style=\"color: #ff0000\"><strong>\u306a\u305c\u300c===\u300d\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/strong><\/span><\/p>\n<p>\u5b9f\u306f\u3001\u300c===\u300d\u306f\u3001<span style=\"color: #339966\"><strong>case\u6587<\/strong><\/span>\u3067\u6697\u9ed9\u7684\u306b\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u5c02\u7528\u306e\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9<\/strong><\/span>\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u3001\u4e21\u65b9\u306e\u3084\u308a\u65b9\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">[\"a\",\"b\",\"z\"].each do |str|\r\n  case str\r\n  when \"a\" then p \"A\"\r\n  when \"b\" then p \"B\"\r\n  else p \"C\"\r\n  end\r\nend\r\n\r\n[\"a\",\"b\",\"z\"].each do |str|\r\n  if str === \"a\" then p \"A\"\r\n  elsif str === \"b\" then p \"B\"\r\n  else p \"C\"\r\n  end\r\nend\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"A\"\r\n\"B\"\r\n\"C\"\r\n\"A\"\r\n\"B\"\r\n\"C\"<\/pre>\n<p>\u5168\u304f\u540c\u3058\u7d50\u679c\u306b\u306a\u308a\u307e\u3057\u305f\u306d\u3002<\/p>\n<p><span style=\"color: #ff0000\"><strong>\u300c===\u300d\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u306f\u3001case\u7528<\/strong><\/span>\u3067\u3059\u306e\u3067\u3001\u666e\u6bb5\u306f\u300c==\u300d\u3092\u4f7f\u7528\u3057\u3066OK\u3067\u3059\u3002<\/p>\n<h3>\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300ceql?\u300d<\/h3>\n<p><span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300ceql?\u300d<\/strong><\/span>\u3082\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u300c==\u300d\u3068\u5168\u304f\u540c\u3058\u6bd4\u8f03<\/strong><\/span>\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">abc =\"abc\"\r\nabc2 = \"abc\"\r\nif abc.eql? abc2 then\r\n  p \"\u4e00\u81f4\"\r\nelse\r\n  p \"\u4e0d\u4e00\u81f4\"\r\nend\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"\u4e00\u81f4\"\r\n<\/pre>\n<p><span style=\"color: #ff0000\"><strong>\u306a\u305c\u3001\u300c==\u300d\u3068\u5168\u304f\u540c\u3058\u6a5f\u80fd\u306e\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/strong><\/span><\/p>\n<p>\u4e00\u3064\u306f\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u53ef\u8aad\u6027\u306e\u305f\u3081<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u300c==\u300d\u306f\u300c\u540c\u3058\u5024\u300d\u3068\u3044\u3046\u610f\u5473\u3092\u8868\u3059Ruby\u4e0a\u306e\u5f0f\u3067\u3059\u304c\u3001\u6570\u5b66\u3067\u306f\u5358\u306b\u300c=\u300d\u3068\u66f8\u304d\u307e\u3059\u3002<br \/>\n\u3053\u306e\u3088\u3046\u306b\u3001\u8a18\u8ff0\u306b\u9055\u3044\u304c\u3042\u308a\u3001\u3042\u3044\u307e\u3044\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u3092\u8aad\u3093\u3067\u3044\u308b\u4eba\u304c\u30b3\u30fc\u30c9\u306e\u610f\u5473\u3092\u8aad\u307f\u9055\u3046\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n\u307e\u305f\u3001\u8aa4\u3063\u3066\u4ee3\u5165\u6f14\u7b97\u5b50\u300c=\u300d\u3092\u4f7f\u7528\u3057\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001<span style=\"color: #ff0000\"><strong>Ruby\u3067\u306f\u3001\u82f1\u6587\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u6587\u5b57\u98a8\u306e\u8a18\u8ff0\u300ceql?\u300d\u3082\u7528\u610f<\/strong><\/span>\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306a\u3089\u3001\u610f\u5473\u3092\u8aad\u307f\u9055\u3048\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u305b\u3093\u3002\u300c?\u300d\u3068\u3044\u3046\u8a9e\u5c3e\u7591\u554f\u5f62\u3082\u3064\u3044\u3066\u3044\u3066\u3001\u3088\u308a\u610f\u5473\u304c\u628a\u63e1\u3057\u3084\u3059\u3044\u3067\u3059\u306d\uff01<\/p>\n<h3>\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u300cequal?\u300d<\/h3>\n<p><span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u306e\u6700\u5f8c\u306f\u3001\u300cequal?\u300d<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u8981\u6ce8\u610f<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000\"><strong>\u306a\u305c\u3001\u300ceql?\u300d\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u306e\u306b\u3001\u308f\u3056\u308f\u3056\u4f3c\u305f\u3088\u3046\u306a\u5f62\u306e\u300cequal?\u300d\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/strong><\/span><\/p>\n<p>\u305d\u308c\u306f\u3001\u300ceql?\u300d\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u3067\u304d\u306a\u3044\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u3088\u308a\u53b3\u5bc6\u306a\u7b49\u53f7\u6bd4\u8f03\u3092\u884c\u3046\u305f\u3081<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u300ceql?\u300d\u30e1\u30bd\u30c3\u30c9\u306f\u300c==\u300d\u30e1\u30bd\u30c3\u30c9\u3068\u540c\u3058\u6bd4\u8f03\u3092\u884c\u3046\u3068\u4e0a\u306b\u3082\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u300c==\u300d\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u305d\u3082\u305d\u3082\u6587\u5b57\u5217\u306e\u300c\u5024\u300d\u304c\u7b49\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u6bd4\u8f03\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3057\u305f\u3002<\/p>\n<p>\u5b9f\u306f\u3001Ruby\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u3059\u308b\u4e0a\u3067\u3001\u3053\u306e<span style=\"color: #ff0000\"><strong>\u300c==\u300d\u306e\u6587\u5b57\u5217\u306e\u300c\u5024\u300d\u304c\u4e00\u81f4\u3059\u308b\u304b\u3069\u3046\u304b\u3057\u304b\u6bd4\u8f03\u3067\u304d\u306a\u3044\u70b9\u304c\u554f\u984c\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u4f8b\u3048\u3070\u3001\u5909\u6570abc\u306e\u5024\u304c&#8221;abc&#8221;\u3067\u3001\u5909\u6570abc2\u306e\u5024\u304c&#8221;abc&#8221;\u3060\u3063\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>abc\u3068abc2\u306f\u6587\u5b57\u5217\u3068\u3057\u3066\u306e\u300c\u5024\u300d\u306f\u3001\u3068\u3082\u306b&#8221;abc&#8221;\u3067\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001abc\u3068abc2\u306f\u3001\u5225\u3005\u306bClass.new\u3055\u308c\u305f\u5909\u6570\u3060\u3063\u305f\u5834\u5408\u3001<span style=\"color: #ff0000\"><strong>abc\u3068abc2\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u305d\u308c\u305e\u308c\u5225\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001<\/p>\n<ol>\n<li>\u6587\u5b57\u5217\u306e\u5024\u304c\u540c\u3058\u5024\u304b\u3069\u3046\u304b\u3092\u6bd4\u8f03\u3057\u3066\u51e6\u7406\u3092\u5206\u3051\u305f\u3044\u3002<\/li>\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u4e00\u81f4\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6bd4\u8f03\u3057\u3066\u51e6\u7406\u3092\u5206\u3051\u305f\u3044\u3002<\/li>\n<\/ol>\n<p>\u3068\u3044\u3046\u3001\u5225\u3005\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u5206\u3051\u65b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>1.\u306e\u5834\u5408\u306f\u3001if\u6587\u5185\u3067\u3001\u300c==\u300d\u3082\u3057\u304f\u306f\u300ceql?\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u5bfe\u51e6\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u30012.\u306e\u5834\u5408\u306f\u3001\u300c==\u300d\u3084\u300ceql?\u300d\u3067\u306f\u5bfe\u51e6\u3067\u304d\u307e\u305b\u3093\u3002\u3069\u3061\u3089\u3082\u300c\u5024\u300d\u304c\u4e00\u81f4\u3059\u308b\u305f\u3081\u3001true\u3068\u306a\u308a\u307e\u3059\u304c\u304c\u3001<span style=\"color: #ff0000\"><strong>\u3053\u3053\u3067\u306f\u305d\u308c\u305e\u308c\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u9055\u3046\u305f\u3081\u3001false\u3068\u306a\u3089\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/strong><\/span><\/p>\n<p>\u3053\u3053\u3067\u4f7f\u7528\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u304c\u300cequal?\u300d\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u3001\u540c\u3058\u5024\u3067\u5225\u3005\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u3066\u3001\u300cequal?\u300d\u30e1\u30bd\u30c3\u30c9\u3067\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">def check(val1,val2)\r\n  if val1.equal? val2 then\r\n    p \"\u4e00\u81f4\"\r\n  else\r\n    p \"\u4e0d\u4e00\u81f4\"\r\n  end\r\nend\r\n\r\nabc  = \"abc\"  #Class.new\u3068\u7b49\u4fa1\r\nabc2 = \"abc\"  #Class.new\u3068\u7b49\u4fa1\r\n\r\ncheck(abc,abc2)<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"\u4e0d\u4e00\u81f4\"<\/pre>\n<p>\u5024\u304c\u540c\u3058\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3082\u3001\u300cequal?\u300d\u3067\u6bd4\u8f03\u3059\u308b\u3068\u3001<span style=\"color: #ff0000\"><strong>\u5225\u3005\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6bd4\u8f03\u3057\u305f\u5834\u5408\u306f\u3001false\u306b\u306a\u308b<\/strong><\/span>\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u306d\u3002<\/p>\n<h3>\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u306e\u6ce8\u610f\u70b9<\/h3>\n<p>\u3068\u3053\u308d\u3067\u3001\u6570\u5024\u578b\u30af\u30e9\u30b9\u3068\u6587\u5b57\u5217\u578b\u30af\u30e9\u30b9\u306f\u3001\u5225\u3005\u306e\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<p>\u305d\u3082\u305d\u3082\u3001\u30af\u30e9\u30b9\u304c\u9055\u3046\u305f\u3081\u3001<span style=\"color: #ff0000\"><strong>\u6bd4\u8f03\u3059\u308b\u3068\u3001\u300c\u4e21\u8005\u306f\u9055\u3046\u30e2\u30ce\u300d<\/strong><\/span>\u3068\u3044\u3046\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u4e21\u8005\u3092\u6bd4\u8f03\u3059\u308b\u3068\u3001\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u306e\u300c==\u300d\u3084\u300c===\u300d\u3001\u300ceql?\u300d\u3001\u300cequal?\u300d\u306f\u3001false\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">def check(val1,val2)\r\n  if val1.eql? val2 then\r\n    p \"\u4e00\u81f4\"\r\n  else\r\n    p \"\u4e0d\u4e00\u81f4\"\r\n  end\r\nend\r\n\r\nabc  =  1   #\u6570\u5024\u306e1\r\nabc2 = \"1\"  #\u6587\u5b57\u5217\u306e\"1\"\r\n\r\ncheck(abc,abc2)\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"\u4e0d\u4e00\u81f4\"\r\n<\/pre>\n<p>\u6570\u5024\u306e\u300c1\u300d\u3068\u6587\u5b57\u5217\u306e&#8221;1&#8243;\u306f\u3001\u5225\u306e\u300c\u5024\u300d\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002<br \/>\n\u5b9f\u969b\u306bRuby\u306f\u3001<span style=\"color: #ff0000\"><strong>\u4e21\u8005\u306f\u300c\u5225\u306e\u5024\u3067\u3042\u308b<\/strong><\/span>\u300d\u3068\u8a8d\u8b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u300c\u5024\u300d\u3092\u6bd4\u8f03\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u300c==\u300d\u3001\u300c===\u300d\u3001\u300ceql?\u300d\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001<span style=\"color: #ff0000\"><strong>\u5024\u3092\u4e00\u81f4\u3055\u305b\u308c\u3070\u826f\u3044\u8a33\u3067\u3059\u3002<\/strong><\/span><br \/>\n\u305d\u306e\u4f8b\u3068\u3057\u3066\u3001\u3053\u3053\u3067\u3001\u6570\u5024\u3092\u6587\u5b57\u5217\u306e\u5024\u3078\u5909\u63db\u3059\u308b\u30e1\u30bd\u30c3\u30c9<span style=\"color: #339966\"><strong>\u300cto_s\u300d<\/strong><\/span>\u3092\u4f7f\u3063\u3066\u3001\u5024\u3092\u4e00\u81f4\u3055\u305b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">def check( val1, val2 )\r\n  # to_s \u3057\u305f\u5f8c\u306b\u6bd4\u8f03\r\n  if val1.to_s.eql? val2.to_s then\r\n    p \"\u4e00\u81f4\"\r\n  else\r\n    p \"\u4e0d\u4e00\u81f4\"\r\n  end\r\nend\r\n\r\nabc  =  1   #\u6570\u5024\u306e1\r\nabc2 = \"1\"  #\u6587\u5b57\u5217\u306e\"1\"\r\n\r\ncheck(abc,abc2)\r\n<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"\u4e00\u81f4\"\r\n<\/pre>\n<p>\u4eca\u5ea6\u306f\u3001\u7d50\u679c\u304c&#8221;\u4e00\u81f4&#8221;\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u6570\u5024\u306e\u5909\u6570\u306eto_s\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u6570\u5024\u3092\u6587\u5b57\u5217\u306e\u5024\u306b\u3057\u305f\u305f\u3081\u3001<span style=\"color: #ff0000\"><strong>\u4e21\u8005\u306e\u300c\u5024\u300d\u304c\u4e00\u81f4\u3057<\/strong><\/span>\u3001\u300ceql?\u300d\u30e1\u30bd\u30c3\u30c9\u304ctrue\u3092\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u306f\u3001\u300ceql?\u300d\u30e1\u30bd\u30c3\u30c9\u3068\u7b49\u4fa1\u306a\u300c==\u300d\u3001\u300c===\uff08case\u3082\u540c\u69d8\uff09\u300d\u306b\u304a\u3044\u3066\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>to_s\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u307b\u3068\u3093\u3069\u306e\u30af\u30e9\u30b9\u306b\u4f7f\u3048\u308b\u305f\u3081\u3001\u6bd4\u8f03\u3092\u884c\u3046\u969b\u306f\u3001\u6bd4\u8f03\u5bfe\u8c61\u3092\u4e00\u65e6\u300cto_s\u300d\u3067\u6587\u5b57\u5217\u306e\u5024\u306b\u3057\u3066\u304b\u3089\u6bd4\u8f03\u3059\u308b\u3068\u3001\u601d\u3044\u901a\u308a\u306e\u7d50\u679c\u3092\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u306f\u3001\u899a\u3048\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<h2>\u4e0d\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9<\/h2>\n<p><span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u4e0d\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9<\/strong><\/span>\u306f\u3001\u4ee5\u4e0b\u306e4\u3064\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>&lt;<br \/>\n\u53f3\u8fba\u3088\u308a\u5de6\u8fba\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b\u5834\u5408\u306ftrue<br \/>\n\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306ffalse<\/li>\n<li>&lt;=<br \/>\n\u53f3\u8fba\u3088\u308a\u304b\u3001\u307e\u305f\u306f\u3001\u53f3\u8fba\u3068\u540c\u3058\u9806\u756a\u3067\u3001\u5de6\u8fba\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b\u5834\u5408\u306ftrue<br \/>\n\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306ffalse<\/li>\n<li>&gt;<br \/>\n\u5de6\u8fba\u3088\u308a\u53f3\u8fba\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b\u5834\u5408\u306ftrue<br \/>\n\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306ffalse<\/li>\n<li>&gt;=<br \/>\n\u5de6\u8fba\u3088\u308a\u304b\u3001\u307e\u305f\u306f\u3001\u5de6\u8fba\u3068\u540c\u3058\u9806\u756a\u3067\u3001\u53f3\u8fba\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b\u5834\u5408\u306ftrue<br \/>\n\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u306ffalse<\/li>\n<\/ul>\n<p>\u8f9e\u66f8\u3068\u306f\u3001\u4e00\u822c\u306b\u3042\u308b\u82f1\u8a9e\u8f9e\u66f8\u3084\u56fd\u8a9e\u8f9e\u66f8\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n<span style=\"color: #ff0000\"><strong>\u4e0d\u7b49\u53f7\u30e1\u30bd\u30c3\u30c9\u306e\u305d\u308c\u305e\u308c\u306f\u3001\u4e21\u8fba\u306e\u6587\u5b57\u5217\u304c\u8f9e\u66f8\u5f15\u304d\u3067\u3069\u3061\u3089\u304c\u5148\u306b\u8f09\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u8f9e\u66f8\u5f15\u304d\u3067\u5148\u306b\u8f09\u3063\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u4e8b\u4f8b\u3092\u53c2\u8003\u306b\u3055\u308c\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li>\u201dabcd\u201d\u3068\u201defghi\u201d \u3067\u306f\u3001\u201dabcd\u201d\u306e\u65b9\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b<\/li>\n<li>\n\u201dabcd\u201d\u3068\u201dbbcd\u201d\u3067\u306f\u3001\u201dabcd\u201d\u306e\u65b9\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b<\/li>\n<li>\u201dzyxw\u201d\u3068\u201dABCD\u201d\u3067\u306f\u3001\u201dzyxw\u201d\u306e\u65b9\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b<br \/>\n\uff08Ruby\u306e\u8a2d\u8a08\u4e0a\u3001\u5927\u6587\u5b57\u306f\u5c0f\u6587\u5b57\u306e\u5f8c\u3067\u3059\uff09<\/li>\n<li>\n\u201d\u3042\u3044\u3046\u3048\u304a\u201d\u3068\u201d\u304b\u304d\u304f\u3051\u3053\u201d\u3067\u306f\u3001\u201d\u3042\u3044\u3046\u3048\u304a\u201d\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b<\/li>\n<li>\u201d\u3042\u3044\u3046\u3048\u304a&#8221;\u3068&#8221;\u30a2\u30a4\u30a6\u30a8\u30aa\u201d\u3067\u306f\u3001&#8221;\u3042\u3044\u3046\u3048\u304a\u201d\u304c\u5148\u306b\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b<br \/>\n\uff08Ruby\u306e\u8a2d\u8a08\u4e0a\u3001\u30ab\u30bf\u30ab\u30ca\u306f\u3001\u3072\u3089\u304c\u306a\u306e\u5f8c\u3067\u3059\uff09<\/li>\n<\/ul>\n<p>\u306a\u304a\u3001<span style=\"color: #ff0000\"><strong>\u65e5\u672c\u8a9e\u306e\u6f22\u5b57\u3060\u3051\u306f\u3001Ruby\u306e\u4e0d\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u6b63\u78ba\u306b\u6bd4\u8f03\u3067\u304d\u307e\u305b\u3093\u3002<\/strong><\/span><br \/>\n\u306a\u305c\u306a\u3089\u3001\u6f22\u5b57\u306e\u8f9e\u66f8\u306f\u6f22\u5b57\u306f\u97f3\u8aad\u307f\u30fb\u8a13\u8aad\u307f\u3082\u3042\u308a\u307e\u3059\u3057\u3001\u8aad\u307f\u65b9\u3082\u8907\u6570\u3042\u308b\u305f\u3081\u3001\u5358\u7d14\u306a\u3088\u307f\u304c\u306a\u3060\u3051\u3067\u306f\u3001<span style=\"color: #ff0000\"><strong>\u8f9e\u66f8\u306b\u8f09\u3063\u3066\u3044\u308b\u9806\u756a\u304c\u6c7a\u307e\u3089\u306a\u3044\u305f\u3081<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u65e5\u672c\u8a9e\u3092Ruby\u306e\u4e0d\u7b49\u53f7\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u3067\u6bd4\u8f03\u3059\u308b\u969b\u306f\u3001<span style=\"color: #ff0000\"><strong>\u3072\u3089\u304c\u306a\u3001\u30ab\u30bf\u30ab\u30ca\u3001\u5168\u89d2\u82f1\u6570\u5b57\u306e\u307f\u6709\u52b9<\/strong><\/span>\u3060\u3068\u8003\u3048\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1a<\/p>\n<pre class=\"lang:default decode:true \">if \"abcd\" &lt; \"efghi\" then \r\n  p \"abcd\"\r\nelse\r\n  p \"efghi\"\r\nend\r\n\r\nif \"abcd\" &lt;= \"bbcd\" then\r\n  p \"abcd\"\r\nelse\r\n  p \"bbcd\"\r\nend\r\n\r\nif \"\u3042\u3044\u3046\u3048\u304a\" &gt; \"\u304b\u304d\u304f\u3051\u3053\" then\r\n  p \"\u3042\u3044\u3046\u3048\u304a\"\r\nelse\r\n  p \"\u304b\u304d\u304f\u3051\u3053\"\r\nend\r\n\r\nif \"\u3042\u3044\u3046\u3048\u304a\" &gt;= \"\u30a2\u30a4\u30a6\u30a8\u30aa\" then\r\n  p \"\u3042\u3044\u3046\u3048\u304a\"\r\nelse\r\n  p \"\u30a2\u30a4\u30a6\u30a8\u30aa\"\r\nend<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"nums:false lang:default decode:true \">\"abcd\"\r\n\"abcd\"\r\n\"\u304b\u304d\u304f\u3051\u3053\"\r\n\"\u30a2\u30a4\u30a6\u30a8\u30aa\"\r\n<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u6570\u5024\u306e\u6bd4\u8f03\u3068\u6bd4\u3079\u3066\u3001<span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u6bd4\u8f03<\/strong><\/span>\u306f\u4f7f\u7528\u983b\u5ea6\u306f\u5c11\u306a\u3044\u3067\u3059\u304c\u3001\u4f7f\u3044\u5206\u3051\u3092\u6574\u7406\u3057\u3066\u7406\u89e3\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u3001<span style=\"color: #ff0000;background-color: #ffff99\"><strong>\u7528\u9014\u3092\u9593\u9055\u3044\u601d\u308f\u306c\u30d0\u30b0\u3092\u8d77\u3053\u3057\u3066\u3057\u307e\u3046\u539f\u56e0<\/strong><\/span>\u306b\u3082\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u6a5f\u4f1a\u306b\u3001<span style=\"color: #339966\"><strong>\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9<\/strong><\/span>\u306e\u4f7f\u3044\u5206\u3051\u3092\u6574\u7406\u3057\u3066\u7406\u89e3\u3055\u308c\u3066\u304a\u304f\u3068\u3001\u4eca\u5f8c\u306e\u5f79\u306b\u7acb\u3064\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3046\u3059\u308c\u3070\u3001Ruby\u304c\u5927\u5909\u4f7f\u3044\u3084\u3059\u3044\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u3092\u5fd8\u308c\u305f\u3089\u3001\u307e\u305f\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u307f\u8fd4\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4>Ruby\u306e\u6587\u5b57\u5217\u3092\u3057\u3063\u304b\u308a\u7406\u89e3\u3057\u305f\u3044\u65b9\u306b<\/h4>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u6587\u5b57\u5217\u3092\u4f53\u7cfb\u7684\u306b\u89e3\u8aac\u3057\u305f<a href=\"https:\/\/www.sejuku.net\/blog\/14432\" target=\"_blank\" rel=\"noopener\">3\u30b9\u30c6\u30c3\u30d7\u3067\u7c21\u5358! Ruby\u306e\u6587\u5b57\u5217\u3092 \u5b8c\u5168\u7406\u89e3<\/a>\u306e\u4e00\u90e8\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u6587\u5b57\u5217\u3092\u3055\u3089\u306b\u7406\u89e3\u3057\u305f\u3044\u65b9\u306f\u3053\u3061\u3089\u3092\u8aad\u3093\u3067\u3069\u3093\u3069\u3093\u7406\u89e3\u3092\u6df1\u3081\u3066\u3044\u304f\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/14432\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby-moziretu-150x86.png\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">3\u30b9\u30c6\u30c3\u30d7\u3067\u7c21\u5358! Ruby\u306e\u6587\u5b57\u5217\u3092 \u5b8c\u5168\u7406\u89e3<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2022\u5e7410\u67083\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01Web\u30b3\u30fc\u30c0\u30fc\u30fb\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u8c9d\u539f\uff08@touhicomu\uff09\u3067\u3059\u3002 \u4eca\u65e5\u306f\u3001Ruby\u306e\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u306b\u3064\u3044\u3066\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 Ruby\u306e\u6587\u5b57\u5217\u306e\u6bd4\u8f03\u306e\u3057\u304b\u305f\u306f\u3001\u8272\u3005\u3042\u3063\u3066\u3001\u610f\u5916\u3068\u96e3\u3057\u3044\u3067\u3059\u3088\u306d\u3002 Ruby\u306e\u6587 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":14636,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2352],"tags":[114,68],"class_list":["post-14634","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-study","tag-ruby","tag-68"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/14634\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/14634\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-25T08:36:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:40:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby_string_compare.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01\",\"datePublished\":\"2017-01-25T08:36:28+00:00\",\"dateModified\":\"2024-05-06T02:40:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634\"},\"wordCount\":109,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/ruby_string_compare.jpg\",\"keywords\":[\"ruby\",\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\"],\"articleSection\":[\"Ruby\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634\",\"name\":\"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/ruby_string_compare.jpg\",\"datePublished\":\"2017-01-25T08:36:28+00:00\",\"dateModified\":\"2024-05-06T02:40:15+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/ruby_string_compare.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/01\\\/ruby_string_compare.jpg\",\"width\":700,\"height\":400,\"caption\":\"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/14634#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/14634","og_locale":"ja_JP","og_type":"article","og_title":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/14634","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-01-25T08:36:28+00:00","article_modified_time":"2024-05-06T02:40:15+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby_string_compare.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/14634#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/14634"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01","datePublished":"2017-01-25T08:36:28+00:00","dateModified":"2024-05-06T02:40:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/14634"},"wordCount":109,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/14634#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby_string_compare.jpg","keywords":["ruby","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"articleSection":["Ruby\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/14634","url":"https:\/\/www.sejuku.net\/blog\/14634","name":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/14634#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/14634#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby_string_compare.jpg","datePublished":"2017-01-25T08:36:28+00:00","dateModified":"2024-05-06T02:40:15+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/14634#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/14634"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/14634#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby_string_compare.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/01\/ruby_string_compare.jpg","width":700,"height":400,"caption":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01"},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/14634#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010\u30a8\u30f3\u30b8\u30cb\u30a2\u76e3\u4fee\u3011Ruby \u6587\u5b57\u5217\u306e\u6bd4\u8f03\u3092\u5b8c\u5168\u7406\u89e3\u3059\u308b\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/14634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=14634"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/14634\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/14636"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=14634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=14634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=14634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}