{"description":"Ruby\u3067if\u6587\u306e\u8a18\u8f09\u65b9\u6cd5 Ruby\u3067if\u6587\u306e\u8a18\u8f09\u65b9\u6cd5 Ruby\u3067\u306eif\u6587\u306e\u57fa\u672c\u7684\u306a\u8a18\u8ff0\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002 x = 10 if x > 5 puts \"x\u306f5\u3088\u308a\u5927\u304d\u3044\" elsif x == 5 puts \"x\u306f5\u3068\u7b49\u3057\u3044\" else puts \"x\u306f5\u3088\u308a\u5c0f\u3055\u3044\" end \u307e\u305f\u3001Ruby\u3067\u306f\u5358\u884c\u306eif\u6587\u3082\u4f7f\u3048\u307e\u3059\u3002 puts \"x\u306f5\u3088\u308a\u5927\u304d\u3044\" if x > 5 unless\u3092\u4f7f\u3063\u3066if\u6587\u3092\u53cd\u8ee2\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 x = 3 unless x > 5 puts \"x\u306f5\u3088\u308a\u5927\u304d\u304f\u306a\u3044\" end","url":"https://job-info.hateblo.jp/entry/2024/08/23/201425","version":"1.0","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/tomotomo1129/","width":"100%","author_name":"tomotomo1129","categories":["Ruby"],"height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F08%2F23%2F201425\" title=\"Ruby\u3067if\u6587\u306e\u8a18\u8f09\u65b9\u6cd5 - Web\u958b\u767a\u306b\u304a\u3051\u308b\u77e5\u898b\u5171\u6709\u7cfb\u30da\u30fc\u30b8\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2024-08-23 20:14:25","provider_name":"Hatena Blog","blog_title":"Web\u958b\u767a\u306b\u304a\u3051\u308b\u77e5\u898b\u5171\u6709\u7cfb\u30da\u30fc\u30b8","blog_url":"https://job-info.hateblo.jp/","image_url":null,"title":"Ruby\u3067if\u6587\u306e\u8a18\u8f09\u65b9\u6cd5"}