{"id":6512,"date":"2015-06-09T07:19:52","date_gmt":"2015-06-09T07:19:52","guid":{"rendered":"https:\/\/dev.railscarma.com\/ruby-module-article\/"},"modified":"2025-12-18T11:24:47","modified_gmt":"2025-12-18T11:24:47","slug":"%e3%83%ab%e3%83%93%e3%83%bc%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%81%ae%e8%a8%98%e4%ba%8b","status":"publish","type":"post","link":"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/%e3%83%ab%e3%83%93%e3%83%bc%e3%83%a2%e3%82%b8%e3%83%a5%e3%83%bc%e3%83%ab%e3%81%ae%e8%a8%98%e4%ba%8b\/","title":{"rendered":"Ruby\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f5c\u6210\u3068\u4f7f\u7528\u306e\u57fa\u672c"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"6512\" class=\"elementor elementor-6512\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-54fe0c61 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"54fe0c61\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-44a03edd\" data-id=\"44a03edd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7ae3bfac elementor-widget__width-initial elementor-widget elementor-widget-text-editor\" data-id=\"7ae3bfac\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p style=\"text-align: justify;\"><span style=\"font-size: medium;\"><strong>\u30eb\u30d3\u30fc\u30fb\u30aa\u30f3\u30fb\u30ec\u30fc\u30eb<\/strong> \u306f\u7d20\u6674\u3089\u3057\u3044\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d5\u30eb\u30b9\u30bf\u30c3\u30af\u30fb\u30a6\u30a7\u30d6\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u8a2d\u5b9a\u3088\u308a\u3082\u898f\u7d04\u3092\u91cd\u8996\u3059\u308b\u3002.&nbsp;&nbsp;<\/span><span style=\"font-size: medium;\">\u901a\u5e38\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u6210\u306b\u4f7f\u7528\u3055\u308c\u308b\u518d\u5229\u7528\u53ef\u80fd\u3067\u7c21\u5358\u306b\u69cb\u6210\u53ef\u80fd\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001Rails \u3067\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u304c\u3088\u308a\u8fc5\u901f\u304b\u3064\u7c21\u5358\u306b\u306a\u308a\u3001\u305d\u306e\u7d50\u679c\u3001\u751f\u7523\u6027\u304c\u5411\u4e0a\u3057\u3001\u30d3\u30b8\u30cd\u30b9\u306e\u6210\u9577\u304c\u3082\u305f\u3089\u3055\u308c\u307e\u3059\u3002&nbsp;<\/span><span style=\"font-size: medium;\">\u67d4\u8edf\u3067\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u3001Web \u958b\u767a\u8005\u306b\u3068\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f5c\u6210\u3068\u4fdd\u5b88\u304c\u7c21\u5358\u3067\u3042\u308b\u305f\u3081\u3001\u958b\u767a\u8005\u306e\u9593\u3067\u6ce8\u76ee\u3092\u96c6\u3081\u3066\u3044\u307e\u3059\u3002&nbsp;<\/span><\/p><p style=\"text-align: justify;\"><span style=\"font-size: medium;\"><strong><a href=\"https:\/\/rubyonrails.org\/\">\u30eb\u30d3\u30fc\u30fb\u30aa\u30f3\u30fb\u30ec\u30fc\u30eb<\/a><\/strong> Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u969b\u306e\u4f5c\u696d\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001\u65e2\u77e5\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0 \u30d1\u30bf\u30fc\u30f3\u3068\u539f\u5247\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u3002&nbsp;<\/span><span style=\"font-size: medium;\">\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u306f\u8907\u6570\u3042\u308a\u307e\u3059\u304c\u3001Ruby \u306f\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u306b\u4f9d\u5b58\u3057\u3066\u3001Rails Web \u30b5\u30a4\u30c8\u306e\u4fdd\u5b88\u3068\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u5bb9\u6613\u306b\u3059\u308b\u3068\u516c\u8a00\u3057\u3066\u3044\u307e\u3059\u3002&nbsp;<\/span><span style=\"font-size: medium;\">\u958b\u767a\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u3092\u524a\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001\u7279\u5b9a\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u5c0f\u3055\u306a Rails \u30b3\u30fc\u30c9 \u30d6\u30ed\u30c3\u30af\u3092\u542b\u3080\u30aa\u30fc\u30d7\u30f3 \u30bd\u30fc\u30b9 \u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002&nbsp;<\/span><span style=\"font-size: medium;\">\u3053\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9 \u30d6\u30ed\u30c3\u30af\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u958b\u767a\u8005\u306f\u540c\u3058\u7a2e\u985e\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u306e\u306b\u6642\u9593\u3092\u8cbb\u3084\u3059\u3053\u3068\u306a\u304f\u3001\u5b89\u5b9a\u3057\u305f\u5341\u5206\u306b\u30c6\u30b9\u30c8\u3055\u308c\u305f gem \u3092\u633f\u5165\u3067\u304d\u307e\u3059\u3002 Ruby \u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306e\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306e\u4e2d\u3067\u6700\u3082\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u306e 1 \u3064\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002 <b>\u30eb\u30d3\u30fc&nbsp;<\/b><\/span><span style=\"font-size: medium;\"><b>\u30e2\u30b8\u30e5\u30fc\u30eb<\/b> \u306f\u3001Ruby\u306e\u30af\u30e9\u30b9\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u5b9a\u6570\u3092\u3001\u500b\u5225\u306b\u547d\u540d\u30fb\u5b9a\u7fa9\u3055\u308c\u305f\u5358\u4e00\u306e\u30e6\u30cb\u30c3\u30c8\u306b\u307e\u3068\u3081\u308b\u305f\u3081\u306e\u69cb\u9020\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002.<\/span><\/p>\n<p style=\"text-align: justify;\"><span style=\"font-size: medium;\">\u3053\u308c\u306f\u3001\u65e2\u5b58\u306e\u30af\u30e9\u30b9\u3001\u30e1\u30bd\u30c3\u30c9\u3001\u5b9a\u6570\u3068\u306e\u885d\u7a81\u3092\u56de\u907f\u3057\u305f\u308a\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u6a5f\u80fd\u3092\u30af\u30e9\u30b9\u306b\u8ffd\u52a0 (\u6df7\u5408) \u3057\u305f\u308a\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/span><\/p>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>Ruby\u3067\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b<\/b><\/font><\/h2>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f5c\u6210\u306f\u30af\u30e9\u30b9\u306e\u4f5c\u6210\u3068\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001class\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u4ee3\u308f\u308a\u306bmodule\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u3046\u70b9\u304c\u7570\u306a\u308a\u307e\u3059\u3002.<\/font><\/p>\n<pre style=\"text-align: justify;\">\u30e2\u30b8\u30e5\u30fc\u30eb MyFirstModule\n  def say_hello\n    puts \"\u3053\u3093\u306b\u3061\u306f\"\n  end\n\u7d42\u308f\u308a<font size=\"3\"><\/font><\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3067\u304d\u306a\u3044\u3002\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u3046\u306b\u306f\u3001\u30af\u30e9\u30b9\u5185\u3067\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b\u304b\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u62e1\u5f35\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002.<\/font><\/p>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3068\u30a8\u30af\u30b9\u30c6\u30f3\u30c9\u306e\u4f7f\u7528<\/b><\/font><\/h2>\n<p style=\"text-align: justify;\">\n<\/p><ul>\n<li><font size=\"3\"><b>\u542b\u3080<\/b><\/font><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30fb\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u6df7\u305c\u308b\u3002.<\/font><\/p>\n<p style=\"text-align: justify;\">\n<\/p><ul>\n<li><font size=\"3\"><b>\u62e1\u5f35<\/b><\/font><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u30af\u30e9\u30b9\u306e\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u6df7\u305c\u308b\u3002.<\/font><\/p>\n<p style=\"text-align: justify;\"><font size=\"3\"><b>\u4f8b<\/b><\/font><\/p>\n<pre style=\"text-align: justify;\">\u30e2\u30b8\u30e5\u30fc\u30eb ReusableModule\n  def module_method\n    puts \"\u30e2\u30b8\u30e5\u30fc\u30eb\u30e1\u30bd\u30c3\u30c9\uff1a\u3053\u3093\u306b\u3061\u306f\uff01\"\n  end\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9ClassThatIncludes\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9ReusableModule\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9ClassThatExtends\n  extend ReusableModule\n\u30a8\u30f3\u30c9\n\nputs \"\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\"\n\u30af\u30e9\u30b9ThatIncludes.new.module_method\n# =&gt; \"\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30e1\u30bd\u30c3\u30c9\uff1a\u3053\u3093\u306b\u3061\u306f\uff01\"\n\nputs \"\u62e1\u5f35\"\n\u30af\u30e9\u30b9\u62e1\u5f35.module_method\n# =&gt; \"\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30e1\u30bd\u30c3\u30c9\uff1a\u3053\u3093\u306b\u3061\u306f\uff01\"<\/pre>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>Ruby\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u95a2\u3059\u308b\u305d\u306e\u4ed6\u306e\u91cd\u8981\u306a\u6982\u5ff5<\/b><\/font><\/h2>\n<p style=\"text-align: justify;\"><font size=\"3\"><b>1.\u30e1\u30bd\u30c3\u30c9\u30fb\u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u57fa\u672c<\/b><\/font><\/p>\n<pre style=\"text-align: justify;\">\u30e2\u30b8\u30e5\u30fc\u30eb M\n  def report\n    \u30e2\u30b8\u30e5\u30fc\u30ebM\u306e'report'\u30e1\u30bd\u30c3\u30c9\"\n  end\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9 C\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9 M\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9 D &lt; C\n\u7d42\u4e86<br>\n<b><\/b>obj = D.new\nobj.report<\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\"><b>\u51fa\u529b\uff1a<\/b><\/font><\/p>\n<pre style=\"text-align: justify;\"><font size=\"3\">'\u30e2\u30b8\u30e5\u30fc\u30ebM\u306e'report'\u30e1\u30bd\u30c3\u30c9<\/font><\/pre>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>\u30e1\u30bd\u30c3\u30c9\u691c\u7d22\u306e\u4ed5\u7d44\u307f<\/b><\/font><\/h2>\n<p style=\"text-align: justify;\"><font size=\"3\">Ruby\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30e1\u30c3\u30bb\u30fc\u30b8\uff08\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\uff09\u3092\u53d7\u3051\u53d6\u308b\u3068\u3001\u3053\u306e\u9806\u5e8f\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u691c\u7d22\u3059\u308b\uff1a<\/font><\/p>\n<ol>\n<li>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30fb\u30af\u30e9\u30b9\uff08D\uff09<\/li>\n<li><font size=\"3\">\u30af\u30e9\u30b9\u306b\u542b\u307e\u308c\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\uff08D\uff09<\/font><\/li>\n<li><font size=\"3\">\u30b9\u30fc\u30d1\u30fc\u30af\u30e9\u30b9 (C)<\/font><\/li>\n<li><font size=\"3\">\u30b9\u30fc\u30d1\u30fc\u30af\u30e9\u30b9\u306b\u542b\u307e\u308c\u308b\u30e2\u30b8\u30e5\u30fc\u30eb (M)<\/font><\/li>\n<li><font size=\"3\">\u7d99\u627f\u306e\u9023\u9396\u3092\u7d9a\u3051\u308b<\/font><\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><font size=\"3\">\u3053\u306e\u5834\u5408<\/font><\/p>\n<p style=\"text-align: justify;\">\n<\/p><ul>\n<li><font size=\"3\">D\u306f\u30ec\u30dd\u30fc\u30c8\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u306a\u3044<\/font><\/li>\n<li><span style=\"font-size: 16px;\">C\u306f\u30ec\u30dd\u30fc\u30c8\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u306a\u3044<\/span><\/li>\n<li><span style=\"font-size: 16px;\">C\u306f\u30e2\u30b8\u30e5\u30fc\u30ebM\u3092\u542b\u3080<\/span><\/li>\n<li><span style=\"font-size: 16px;\">M\u306freport\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u306e\u3067\u3001Ruby\u306f\u305d\u308c\u3092\u5b9f\u884c\u3059\u308b\u3002<\/span><\/li>\n<\/ul>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>2.\u540c\u3058\u30e1\u30bd\u30c3\u30c9\u3092\u8907\u6570\u56de\u5b9a\u7fa9\u3059\u308b<\/b><\/font><\/h2>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30e1\u30bd\u30c3\u30c9\u304c\u8907\u6570\u56de\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u6700\u5f8c\u306e\u5b9a\u7fa9\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e21\u65b9\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002.<\/font><\/p>\n<pre style=\"text-align: justify;\">\u30e2\u30b8\u30e5\u30fc\u30eb InterestBearing\n  def \u5229\u5b50\u8a08\u7b97\n    puts \"\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\uff01\u30e2\u30b8\u30e5\u30fc\u30eb InterestBearing \u306b\u5165\u308a\u307e\u3057\u305f\u3002\"\n  end\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9 BankAccount\n  include InterestBearing\n\n  def \u5229\u606f\u3092\u8a08\u7b97\u3059\u308b\n    puts \"\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\uff01BankAccount\u30af\u30e9\u30b9\u306b\u3044\u307e\u3059\u3002\"\n    puts \"\u305d\u3057\u3066\u3001calculate_interest\u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3044\u307e\u3059\uff01\"\n  \u7d42\u4e86\n\u7d42\u4e86\n\naccount = BankAccount.new\naccount.calculate_interest<\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u51fa\u529b\uff1a<\/font><\/p>\n<pre style=\"text-align: justify;\"><font size=\"3\">\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u3053\u3053\u306fBankAccount\u30af\u30e9\u30b9\u3067\u3059\u3002.<br><\/font><font size=\"3\">\u305d\u3057\u3066\u3001calculate_interest\u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u3066\u3044\u308b\uff01<\/font><\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30af\u30e9\u30b9\u30fb\u30e1\u30bd\u30c3\u30c9\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u30fb\u30e1\u30bd\u30c3\u30c9\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3059\u308b\u3002.<\/font><\/p>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>3.\u540c\u3058\u30e1\u30bd\u30c3\u30c9\u540d\u3067\u8907\u6570\u306eRuby\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6df7\u5728\u3055\u305b\u308b<\/b><\/font><\/h2>\n<pre style=\"text-align: justify;\">\u30e2\u30b8\u30e5\u30fc\u30eb M\n  def report\n    \u30e2\u30b8\u30e5\u30fc\u30ebM\u306e'report'\u30e1\u30bd\u30c3\u30c9\"\n  end\n\u7d42\u4e86\n\n\u30e2\u30b8\u30e5\u30fc\u30eb N\n  def report\n    puts ''report\" \u30e1\u30bd\u30c3\u30c9\u3092\u30e2\u30b8\u30e5\u30fc\u30ebN\u306b\u8ffd\u52a0\"\n  end\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9 C\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9 M\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9N\n\u7d42\u4e86\n\nc = C.new\nc.report<\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u51fa\u529b\uff1a<\/font><\/p>\n<pre style=\"text-align: justify;\"><font size=\"3\">'\u30e2\u30b8\u30e5\u30fc\u30eb N \u306e 'report' \u30e1\u30bd\u30c3\u30c9<\/font><\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u6700\u5f8c\u306b\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3055\u308c\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3001\u30e1\u30bd\u30c3\u30c9\u691c\u7d22\u30d1\u30b9\u3067\u6700\u521d\u306b\u8868\u793a\u3055\u308c\u308b\u304b\u3089\u3060\u3002.<\/font><\/p>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>4.Ruby\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u8907\u6570\u56de\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3059\u308b<\/b><\/font><\/h2>\n<pre style=\"text-align: justify;\">\u30af\u30e9\u30b9C\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9M\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9N\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9M\n\u30a8\u30f3\u30c9\n\nc = C.new\nc.report<\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u51fa\u529b\uff1a<\/font><\/p>\n<pre style=\"text-align: justify;\"><font size=\"3\">'\u30e2\u30b8\u30e5\u30fc\u30eb N \u306e 'report' \u30e1\u30bd\u30c3\u30c9<\/font><\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\"><b>\u8aac\u660e<\/b><\/font><\/p>\n<p style=\"text-align: justify;\"><font size=\"3\">\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u518d\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3057\u3066\u3082\u3001\u305d\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u3059\u3067\u306b\u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u30fb\u30d1\u30b9\u306b\u3042\u308b\u5834\u5408\u306f\u4f55\u306e\u52b9\u679c\u3082\u3042\u308a\u307e\u305b\u3093\u3002Ruby\u306f\u305d\u308c\u3092\u518d\u5ea6\u5148\u982d\u306b\u79fb\u52d5\u3055\u305b\u307e\u305b\u3093\u3002\u6700\u5f8c\u306b\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u3055\u308c\u305f\u65b0\u3057\u3044\u30e2\u30b8\u30e5\u30fc\u30eb(N)\u304c\u512a\u5148\u3055\u308c\u307e\u3059\u3002.<\/font><\/p>\n<h2 style=\"text-align: justify;\"><font size=\"3\"><b>5.Ruby\u30e2\u30b8\u30e5\u30fc\u30eb\u3067super\u3092\u4f7f\u3046<\/b><\/font><\/h2>\n<p style=\"text-align: justify;\"><font size=\"3\">super\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u3046\u3068\u3001\u30e1\u30bd\u30c3\u30c9\u30fb\u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u30fb\u30c1\u30a7\u30fc\u30f3\u306e\u6b21\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002.<\/font><\/p>\n<pre style=\"text-align: justify;\">\u30e2\u30b8\u30e5\u30fc\u30eb M\n  def report\n    \u30e2\u30b8\u30e5\u30fc\u30ebM\u306e'report'\u30e1\u30bd\u30c3\u30c9\"\n  end\n\u7d42\u4e86\n\n\u30af\u30e9\u30b9 C\n  \u30a4\u30f3\u30af\u30eb\u30fc\u30c9 M\n\n  def report\n    puts ''\u30af\u30e9\u30b9C\u306ereport\u30e1\u30bd\u30c3\u30c9\"\n    puts \"\u6b21\u306e\u4e0a\u4f4d\u306ereport\u30e1\u30bd\u30c3\u30c9\u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059...'\n    \u30b9\u30fc\u30d1\u30fc\n    puts '\u300csuper\u300d\u547c\u3073\u51fa\u3057\u304b\u3089\u623b\u308b\u3002\"\n  end\n\u7d42\u4e86\n\nc = C.new\nc.report<\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\">\u51fa\u529b\uff1a<\/font><\/p>\n<pre style=\"text-align: justify;\">'\u30af\u30e9\u30b9C\u306e'report'\u30e1\u30bd\u30c3\u30c9\n\u6b21\u306e\u4e0a\u4f4d\u306ereport\u30e1\u30bd\u30c3\u30c9\u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b...\n\u30e2\u30b8\u30e5\u30fc\u30ebM\u306e'report'\u30e1\u30bd\u30c3\u30c9\nsuper'\u547c\u3073\u51fa\u3057\u304b\u3089\u623b\u308b\u3002.<\/pre>\n<p style=\"text-align: justify;\"><font size=\"3\"><b>\u3053\u3053\u3067\u8d77\u3053\u308b\u3053\u3068<\/b><\/font><\/p>\n<p style=\"text-align: justify;\">\n<\/p><ul>\n<li><font size=\"3\">Ruby\u306f\u6700\u521d\u306b\u30af\u30e9\u30b9C\u3067\u30ec\u30dd\u30fc\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3002<\/font><\/li>\n<li><span style=\"font-size: 16px;\">super\u306f\u3001\u30eb\u30c3\u30af\u30a2\u30c3\u30d7\u9023\u9396\u306e\u6b21\u306e\u30ec\u30dd\u30fc\u30c8\u30fb\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\uff08\u30e2\u30b8\u30e5\u30fc\u30ebM\u304b\u3089\uff09\u3002<\/span><\/li>\n<li><span style=\"font-size: 16px;\">\u305d\u306e\u5f8c\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306f\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u623b\u308b\u3002<\/span><\/li>\n<\/ul>\n<p style=\"text-align: justify;\"><span style=\"font-size: medium;\"><a href=\"https:\/\/www.railscarma.com\/ja\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>\u30ec\u30fc\u30eb\u30ab\u30fc\u30de<\/strong><\/a> \u306f\u3001\u521d\u671f\u6bb5\u968e\u304b\u3089 RoR \u306b\u53d6\u308a\u7d44\u3093\u3067\u304a\u308a\u3001RoR \u306e\u8a13\u7df4\u3092\u53d7\u3051\u305f\u5f37\u529b\u306a\u5f93\u696d\u54e1\u3068\u3068\u3082\u306b\u3001Ruby on Rails \u306e\u30a8\u30f3\u30c9\u30c4\u30fc\u30a8\u30f3\u30c9\u306e\u30b3\u30f3\u30b5\u30eb\u30c6\u30a3\u30f3\u30b0\u3001\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3001\u69cb\u7bc9\u3001\u7ba1\u7406\u3001\u62e1\u5f35\u306b\u304a\u3044\u3066\u4e16\u754c\u4e2d\u306e\u4f01\u696d\u306b\u975e\u5e38\u306b\u4fe1\u983c\u3055\u308c\u308b\u4f01\u696d\u306b\u6210\u9577\u3057\u307e\u3057\u305f\u3002&nbsp;<\/span><\/p>\n<p style=\"text-align: justify;\"><em><b>\u7d9a\u304d\u3092\u8aad\u3080 \uff1a&nbsp;<\/b><\/em><\/p>\n<ul>\n<li><a href=\"\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/ruby-on-rails%e3%81%a7tinymce%e3%82%92%e5%ae%9f%e8%a3%85%e3%81%99%e3%82%8b\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ruby on Rails \u3067\u306e TinyMCE \u306e\u5b9f\u88c5<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/understanding-the-asset-pipeline-plugin\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30a2\u30bb\u30c3\u30c8 \u30d1\u30a4\u30d7\u30e9\u30a4\u30f3 \u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3064\u3044\u3066<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/polymorphic-associations-with-active-record\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30a2\u30af\u30c6\u30a3\u30d6\u306a\u30ec\u30b3\u30fc\u30c9\u3068\u306e\u30dd\u30ea\u30e2\u30fc\u30d5\u30a3\u30c3\u30af\u306a\u95a2\u9023\u4ed8\u3051<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/a-simple-way-to-increase-the-performance-of-your-rails-app-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">Rails \u30a2\u30d7\u30ea\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u308b\u7c21\u5358\u306a\u65b9\u6cd5<\/a><\/li>\n<\/ul>\n<p><a href=\"\/ja\/%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b\/\">\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-20ee20d1 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"20ee20d1\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-266aac31\" data-id=\"266aac31\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-201a5cf elementor-widget elementor-widget-heading\" data-id=\"201a5cf\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u6700\u65b0\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u8cfc\u8aad\u3059\u308b<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3a85013 elementor-widget elementor-widget-shortcode\" data-id=\"3a85013\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t\t\t\t\t<script type=\"text\/javascript\">\n\t\t\t\t\t\tvar gCaptchaSibWidget;\n                        var onloadSibCallbackInvisible = function () {\n\n                            var element = document.getElementsByClassName('sib-default-btn');\n                            var countInvisible = 0;\n                            var indexArray = [];\n                            jQuery('.sib-default-btn').each(function (index, el) {\n                                if ((jQuery(el).attr('id') == \"invisible\")) {\n                                    indexArray[countInvisible] = index;\n                                    countInvisible++\n                                }\n                            });\n\n                            jQuery('.invi-recaptcha').each(function (index, el) {\n                                grecaptcha.render(element[indexArray[index]], {\n                                    'sitekey': jQuery(el).attr('data-sitekey'),\n                                    'callback': sibVerifyCallback,\n                                });\n                            });\n                        };\n\t\t\t\t\t<\/script>\n\t\t\t\t\t                <script src=\"https:\/\/www.google.com\/recaptcha\/api.js?onload=onloadSibCallbackInvisible&render=explicit\" async defer><\/script>\n\t\t\t\t\n\t\t\t<form id=\"sib_signup_form_1\" method=\"post\" class=\"sib_signup_form\" action=\"\">\n\t\t\t\t<div class=\"sib_loader\" style=\"display:none;\"><img\n\t\t\t\t\t\t\tsrc=\"https:\/\/www.railscarma.com\/wp-includes\/images\/spinner.gif\" alt=\"\u30ed\u30fc\u30c0\"><\/div>\n\t\t\t\t<input type=\"hidden\" name=\"sib_form_action\" value=\"subscribe_form_submit\">\n\t\t\t\t<input type=\"hidden\" name=\"sib_form_id\" value=\"1\">\n                <input type=\"hidden\" name=\"sib_form_alert_notice\" value=\"Please fill out this field\">\n                <input type=\"hidden\" name=\"sib_form_invalid_email_notice\" value=\"Your email address is invalid\">\n                <input type=\"hidden\" name=\"sib_security\" value=\"c74a301ab2\">\n\t\t\t\t<div class=\"sib_signup_box_inside_1\">\n\t\t\t\t\t<div style=\"\/*display:none*\/\" class=\"sib_msg_disp\">\n\t\t\t\t\t<\/div>\n                                            <div id=\"sib_captcha_invisible\" class=\"invi-recaptcha\" data-sitekey=\"6LdikOAaAAAAAJ6SWrrKVQrtw7TQpQAEnv0HS0G3\"><\/div>\n                    \t\t\t\t\t<p class=\"sib-email-area\">\r\n    <label class=\"sib-email-area\"><\/label>\r\n    <input type=\"email\" class=\"sib-email-area\" name=\"email\" required=\"required\" placeholder=\"\u96fb\u5b50\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\">\r\n<\/p>\r\n<p class=\"sib-NAME-area\">\r\n    <label class=\"sib-NAME-area\"><\/label>\r\n    <input type=\"text\" class=\"sib-NAME-area\" name=\"NAME\" placeholder=\"\u540d\u524d\">\r\n<\/p>\r\n<p>\r\n    <input type=\"submit\" id=\"invisible\" class=\"sib-default-btn\" value=\"\u8cfc\u8aad\u3059\u308b\">\r\n<\/p>\t\t\t\t<\/div>\n\t\t\t<input type=\"hidden\" name=\"trp-form-language\" value=\"ja\"\/><\/form>\n\t\t\t<style>\n\t\t\t\tform#sib_signup_form_1 p.sib-alert-message {\n    padding: 6px 12px;\n    margin-bottom: 20px;\n    border: 1px solid transparent;\n    border-radius: 4px;\n    -webkit-box-sizing: border-box;\n    -moz-box-sizing: border-box;\n    box-sizing: border-box;\n}\nform#sib_signup_form_1 p.sib-alert-message-error {\n    background-color: #f2dede;\n    border-color: #ebccd1;\n    color: #a94442;\n}\nform#sib_signup_form_1 p.sib-alert-message-success {\n    background-color: #dff0d8;\n    border-color: #d6e9c6;\n    color: #3c763d;\n}\nform#sib_signup_form_1 p.sib-alert-message-warning {\n    background-color: #fcf8e3;\n    border-color: #faebcc;\n    color: #8a6d3b;\n}\n\t\t\t<\/style>\n\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t  <div class=\"related-post slider\">\r\n        <div class=\"headline\">\u95a2\u9023\u8a18\u4e8b<\/div>\r\n    <div class=\"post-list owl-carousel\">\r\n\r\n            <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"\u30ab\u30df\u30ca\u30ea\u30b8\u30a7\u30e0\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/%e3%82%ab%e3%83%9f%e3%83%8a%e3%83%aa%e3%82%b8%e3%82%a7%e3%83%a0\/?related_post_from=37277\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/04\/kaminari-gem.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\"\u30ab\u30df\u30ca\u30ea\u30b8\u30a7\u30e0\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/04\/kaminari-gem.jpg 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/04\/kaminari-gem-300x113.jpg 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2023\/04\/kaminari-gem-768x288.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"\u30ab\u30df\u30ca\u30ea\u30b8\u30a7\u30e0\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/%e3%82%ab%e3%83%9f%e3%83%8a%e3%83%aa%e3%82%b8%e3%82%a7%e3%83%a0\/?related_post_from=37277\">\r\n        \u30ab\u30df\u30ca\u30ea\u30b8\u30a7\u30e0  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"\u306a\u305c2026\u5e74\u306bRuby on Rails\u958b\u767a\u8005\u3092\u96c7\u3046\u306e\u304b\uff1f\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e3%83%ad%e3%83%bc\/why-to-hire-ruby-on-rails-developers\/?related_post_from=30627\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2019\/01\/why-to-hire-ruby-on-rails-developers-in-2022.jpg\" class=\"attachment-full size-full wp-post-image\" alt=\"2022 \u5e74\u306b Ruby on Rails \u958b\u767a\u8005\u3092\u96c7\u7528\u3059\u308b\u7406\u7531\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2019\/01\/why-to-hire-ruby-on-rails-developers-in-2022.jpg 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2019\/01\/why-to-hire-ruby-on-rails-developers-in-2022-300x113.jpg 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2019\/01\/why-to-hire-ruby-on-rails-developers-in-2022-768x288.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"\u306a\u305c2026\u5e74\u306bRuby on Rails\u958b\u767a\u8005\u3092\u96c7\u3046\u306e\u304b\uff1f\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e3%83%ad%e3%83%bc\/why-to-hire-ruby-on-rails-developers\/?related_post_from=30627\">\r\n        \u306a\u305c2026\u5e74\u306bRuby on Rails\u958b\u767a\u8005\u3092\u96c7\u3046\u306e\u304b\uff1f  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"CSV\u51e6\u7406\u306b\u3088\u308bRails\u3067\u306e\u30c7\u30fc\u30bf\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/data-scraping-in-rails-by-processing-csv\/?related_post_from=31591\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/09\/DATA-SCRAPING-IN-RAILS-BY-PROCESSING-CSV.png\" class=\"attachment-full size-full wp-post-image\" alt=\"\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/09\/DATA-SCRAPING-IN-RAILS-BY-PROCESSING-CSV.png 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/09\/DATA-SCRAPING-IN-RAILS-BY-PROCESSING-CSV-300x113.png 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/09\/DATA-SCRAPING-IN-RAILS-BY-PROCESSING-CSV-768x288.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"CSV\u51e6\u7406\u306b\u3088\u308bRails\u3067\u306e\u30c7\u30fc\u30bf\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/data-scraping-in-rails-by-processing-csv\/?related_post_from=31591\">\r\n        CSV\u51e6\u7406\u306b\u3088\u308bRails\u3067\u306e\u30c7\u30fc\u30bf\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0  <\/a>\r\n\r\n        <\/div>\r\n              <div class=\"item\">\r\n            <div class=\"thumb post_thumb\">\r\n    <a  title=\"Ruby on Rails Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4ecb\u3057\u3066\u97f3\u58f0\u901a\u8a71\u3092\u884c\u3046\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/ruby-on-rails%e3%82%a6%e3%82%a7%e3%83%96%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%a7%e9%9f%b3%e5%a3%b0%e9%80%9a%e8%a9%b1%e3%82%92%e3%81%99%e3%82%8b\/?related_post_from=31309\">\r\n\r\n      <img decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/07\/MAKE-VOICE-CALLS-THROUGH-RUBY-ON-RAILS-WEB-APPLICATIONS.png\" class=\"attachment-full size-full wp-post-image\" alt=\"\" srcset=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/07\/MAKE-VOICE-CALLS-THROUGH-RUBY-ON-RAILS-WEB-APPLICATIONS.png 800w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/07\/MAKE-VOICE-CALLS-THROUGH-RUBY-ON-RAILS-WEB-APPLICATIONS-300x113.png 300w, https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/07\/MAKE-VOICE-CALLS-THROUGH-RUBY-ON-RAILS-WEB-APPLICATIONS-768x288.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\r\n\r\n    <\/a>\r\n  <\/div>\r\n\r\n  <a class=\"title post_title\"  title=\"Ruby on Rails Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4ecb\u3057\u3066\u97f3\u58f0\u901a\u8a71\u3092\u884c\u3046\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/%e6%8a%80%e8%a1%93%e8%ab%96%e6%96%87\/ruby-on-rails%e3%82%a6%e3%82%a7%e3%83%96%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%a7%e9%9f%b3%e5%a3%b0%e9%80%9a%e8%a9%b1%e3%82%92%e3%81%99%e3%82%8b\/?related_post_from=31309\">\r\n        Ruby on Rails Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4ecb\u3057\u3066\u97f3\u58f0\u901a\u8a71\u3092\u884c\u3046  <\/a>\r\n\r\n        <\/div>\r\n      \r\n  <\/div>\r\n\r\n  <script>\r\n      <\/script>\r\n  <style>\r\n    .related-post {}\r\n\r\n    .related-post .post-list {\r\n      text-align: left;\r\n          }\r\n\r\n    .related-post .post-list .item {\r\n      margin: 10px;\r\n      padding: 10px;\r\n          }\r\n\r\n    .related-post .headline {\r\n      font-size: 14px !important;\r\n      color: #999999 !important;\r\n          }\r\n\r\n    .related-post .post-list .item .post_thumb {\r\n      max-height: 220px;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n          }\r\n\r\n    .related-post .post-list .item .post_title {\r\n      font-size: 14px;\r\n      color: #000000;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .post-list .item .post_excerpt {\r\n      font-size: 12px;\r\n      color: #3f3f3f;\r\n      margin: 10px 0px;\r\n      padding: 0px;\r\n      display: block;\r\n      text-decoration: none;\r\n          }\r\n\r\n    .related-post .owl-dots .owl-dot {\r\n          }\r\n\r\n      <\/style>\r\n      <script>\r\n      jQuery(document).ready(function($) {\r\n        $(\".related-post .post-list\").owlCarousel({\r\n          items: 2,\r\n          responsiveClass: true,\r\n          responsive: {\r\n            0: {\r\n              items: 1,\r\n            },\r\n            768: {\r\n              items: 2,\r\n            },\r\n            1200: {\r\n              items: 2,\r\n            }\r\n          },\r\n                      rewind: true,\r\n                                loop: true,\r\n                                center: false,\r\n                                autoplay: true,\r\n            autoplayHoverPause: true,\r\n                                nav: true,\r\n            navSpeed: 1000,\r\n            navText: ['<i class=\"fas fa-chevron-left\"><\/i>', '<i class=\"fas fa-chevron-right\"><\/i>'],\r\n                                dots: false,\r\n            dotsSpeed: 1200,\r\n                                                    rtl: false,\r\n          \r\n        });\r\n      });\r\n    <\/script>\r\n  <\/div>","protected":false},"excerpt":{"rendered":"<p>Ruby on Rails \u306f\u3001\u300c\u8a2d\u5b9a\u3088\u308a\u3082\u898f\u7d04\u300d\u3092\u91cd\u8996\u3059\u308b\u3001\u7d20\u6674\u3089\u3057\u3044\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30d5\u30eb\u30b9\u30bf\u30c3\u30af Web \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u00a0\u00a0\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u7bc9\u306b\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u3001\u518d\u5229\u7528\u53ef\u80fd\u3067\u8a2d\u5b9a\u304c\u5bb9\u6613\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3088\u308a\u3001Rails \u3067\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306f\u3088\u308a\u8fc5\u901f\u304b\u3064\u5bb9\u6613\u306b\u306a\u308a\u3001\u751f\u7523\u6027\u306e\u5411\u4e0a\u3068\u30d3\u30b8\u30cd\u30b9\u306e\u6210\u9577\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002\u67d4\u8edf\u6027\u304c\u9ad8\u304f\u3001\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u3042\u308a\u3001Web \u958b\u767a\u8005\u304c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5bb9\u6613\u306b\u4f5c\u6210\u30fb\u4fdd\u5b88\u3067\u304d\u308b\u3053\u3068\u304b\u3089\u3001\u958b\u767a\u8005\u306e\u9593\u3067\u652f\u6301\u3092\u5e83\u3052\u3066\u3044\u307e\u3059\u3002\u00a0 Ruby on Rails\u306f\u3001Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u7bc9\u6642\u306e\u4f5c\u696d\u8ca0\u8377\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001\u78ba\u7acb\u3055\u308c\u305f\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u30d1\u30bf\u30fc\u30f3\u3084\u539f\u5247\u306e\u6d3b\u7528\u3092\u91cd\u8996\u3057\u3066\u3044\u307e\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u4e0a\u306e\u8ab2\u984c\u3092\u89e3\u6c7a\u3059\u308b\u65b9\u6cd5\u306f\u8907\u6570\u3042\u308a\u307e\u3059\u304c\u3001Ruby on Rails\u306f\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u30d1\u30bf\u30fc\u30f3\u306b\u4f9d\u62e0\u3059\u308b\u3053\u3068\u3092\u63d0\u5531\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u306b\u3088\u308aRails\u3067\u69cb\u7bc9\u3055\u308c\u305fWeb\u30b5\u30a4\u30c8\u306e\u4fdd\u5b88\u3084\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u2026\u2026<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.railscarma.com\/ja\/%e3%83%96%e3%83%ad%e3%82%b0\/top-software-outsourcing-companies-in-india\/\"> <span class=\"screen-reader-text\">Top 10 Software Outsourcing Companies in India for 2026<\/span> \u3082\u3063\u3068\u8aad\u3080 \"<\/a><\/p>","protected":false},"author":1,"featured_media":32034,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[385,455,384],"tags":[389,421,636,382,637],"class_list":["post-6512","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-management","category-rails-3","category-technical-articles","tag-rails","tag-ror","tag-ruby-module","tag-ruby-on-rails","tag-ruby-on-rails-development-company"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The Basics of Creating and Using Ruby Modules - RailsCarma<\/title>\n<meta name=\"description\" content=\"Learn the basics of creating and using modules in Ruby on Rails to organize code improve reuse and keep applications clean and maintainable.\" \/>\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.railscarma.com\/ja\/\u30d6\u30ed\u30b0\/\u6280\u8853\u8ad6\u6587\/\u30eb\u30d3\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a18\u4e8b\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Basics of Creating and Using Ruby Modules - RailsCarma\" \/>\n<meta property=\"og:description\" content=\"Learn the basics of creating and using modules in Ruby on Rails to organize code improve reuse and keep applications clean and maintainable.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.railscarma.com\/ja\/\u30d6\u30ed\u30b0\/\u6280\u8853\u8ad6\u6587\/\u30eb\u30d3\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a18\u4e8b\/\" \/>\n<meta property=\"og:site_name\" content=\"RailsCarma - Ruby on Rails Development Company specializing in Offshore Development\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RailsCarma\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-09T07:19:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-18T11:24:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@railscarma\" \/>\n<meta name=\"twitter:site\" content=\"@railscarma\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21\"},\"headline\":\"The Basics of Creating and Using Ruby Modules\",\"datePublished\":\"2015-06-09T07:19:52+00:00\",\"dateModified\":\"2025-12-18T11:24:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/\"},\"wordCount\":631,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.railscarma.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg\",\"keywords\":[\"rails\",\"ror\",\"ruby module\",\"Ruby on rails\",\"ruby on rails development company\"],\"articleSection\":[\"Articles on Management\",\"Rails 3\",\"Technical Articles\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/\",\"url\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/\",\"name\":\"The Basics of Creating and Using Ruby Modules - RailsCarma\",\"isPartOf\":{\"@id\":\"https:\/\/www.railscarma.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg\",\"datePublished\":\"2015-06-09T07:19:52+00:00\",\"dateModified\":\"2025-12-18T11:24:47+00:00\",\"description\":\"Learn the basics of creating and using modules in Ruby on Rails to organize code improve reuse and keep applications clean and maintainable.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage\",\"url\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg\",\"contentUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg\",\"width\":800,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.railscarma.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Basics of Creating and Using Ruby Modules\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.railscarma.com\/#website\",\"url\":\"https:\/\/www.railscarma.com\/\",\"name\":\"RailsCarma - Ruby on Rails Development Company specializing in Offshore Development\",\"description\":\"RailsCarma is a Ruby on Rails Development Company in Bangalore. We specialize in Offshore Ruby on Rails Development based out in USA and India. Hire experienced Ruby on Rails developers for the ultimate Web Experience.\",\"publisher\":{\"@id\":\"https:\/\/www.railscarma.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.railscarma.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.railscarma.com\/#organization\",\"name\":\"RailsCarma\",\"url\":\"https:\/\/www.railscarma.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png\",\"contentUrl\":\"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png\",\"width\":200,\"height\":46,\"caption\":\"RailsCarma\"},\"image\":{\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RailsCarma\/\",\"https:\/\/x.com\/railscarma\",\"https:\/\/www.linkedin.com\/company\/railscarma\/\",\"https:\/\/myspace.com\/railscarma\",\"https:\/\/in.pinterest.com\/railscarma\/\",\"https:\/\/www.youtube.com\/channel\/UCx3Wil-aAnDARuatTEyMdpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.railscarma.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/www.railscarma.com\/hire-ruby-on-rails-developer\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ruby\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f5c\u6210\u3068\u4f7f\u3044\u65b9\u306e\u57fa\u672c - RailsCarma","description":"Ruby on Rails\u3067\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f5c\u6210\u3068\u4f7f\u7528\u306e\u57fa\u672c\u3092\u5b66\u3073\u3001\u30b3\u30fc\u30c9\u3092\u6574\u7406\u3057\u3066\u518d\u5229\u7528\u3092\u5411\u4e0a\u3055\u305b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30fc\u30f3\u3067\u4fdd\u5b88\u3057\u3084\u3059\u3044\u72b6\u614b\u306b\u4fdd\u3061\u307e\u3059\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.railscarma.com\/ja\/\u30d6\u30ed\u30b0\/\u6280\u8853\u8ad6\u6587\/\u30eb\u30d3\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a18\u4e8b\/","og_locale":"ja_JP","og_type":"article","og_title":"The Basics of Creating and Using Ruby Modules - RailsCarma","og_description":"Learn the basics of creating and using modules in Ruby on Rails to organize code improve reuse and keep applications clean and maintainable.","og_url":"https:\/\/www.railscarma.com\/ja\/\u30d6\u30ed\u30b0\/\u6280\u8853\u8ad6\u6587\/\u30eb\u30d3\u30fc\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8a18\u4e8b\/","og_site_name":"RailsCarma - Ruby on Rails Development Company specializing in Offshore Development","article_publisher":"https:\/\/www.facebook.com\/RailsCarma\/","article_published_time":"2015-06-09T07:19:52+00:00","article_modified_time":"2025-12-18T11:24:47+00:00","og_image":[{"width":800,"height":300,"url":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@railscarma","twitter_site":"@railscarma","twitter_misc":{"\u57f7\u7b46\u8005":"admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#article","isPartOf":{"@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/"},"author":{"name":"admin","@id":"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21"},"headline":"The Basics of Creating and Using Ruby Modules","datePublished":"2015-06-09T07:19:52+00:00","dateModified":"2025-12-18T11:24:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/"},"wordCount":631,"commentCount":0,"publisher":{"@id":"https:\/\/www.railscarma.com\/#organization"},"image":{"@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage"},"thumbnailUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg","keywords":["rails","ror","ruby module","Ruby on rails","ruby on rails development company"],"articleSection":["Articles on Management","Rails 3","Technical Articles"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/","url":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/","name":"Ruby\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f5c\u6210\u3068\u4f7f\u3044\u65b9\u306e\u57fa\u672c - RailsCarma","isPartOf":{"@id":"https:\/\/www.railscarma.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage"},"image":{"@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage"},"thumbnailUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg","datePublished":"2015-06-09T07:19:52+00:00","dateModified":"2025-12-18T11:24:47+00:00","description":"Ruby on Rails\u3067\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4f5c\u6210\u3068\u4f7f\u7528\u306e\u57fa\u672c\u3092\u5b66\u3073\u3001\u30b3\u30fc\u30c9\u3092\u6574\u7406\u3057\u3066\u518d\u5229\u7528\u3092\u5411\u4e0a\u3055\u305b\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30fc\u30f3\u3067\u4fdd\u5b88\u3057\u3084\u3059\u3044\u72b6\u614b\u306b\u4fdd\u3061\u307e\u3059\u3002.","breadcrumb":{"@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#primaryimage","url":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg","contentUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2015\/06\/blog_rc3.jpg","width":800,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/www.railscarma.com\/blog\/technical-articles\/ruby-module-article\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.railscarma.com\/"},{"@type":"ListItem","position":2,"name":"The Basics of Creating and Using Ruby Modules"}]},{"@type":"WebSite","@id":"https:\/\/www.railscarma.com\/#website","url":"https:\/\/www.railscarma.com\/","name":"RailsCarma - \u30aa\u30d5\u30b7\u30e7\u30a2\u958b\u767a\u306b\u7279\u5316\u3057\u305f Ruby on Rails \u958b\u767a\u4f1a\u793e","description":"RailsCarma \u306f\u30d0\u30f3\u30ac\u30ed\u30fc\u30eb\u306e Ruby on Rails \u958b\u767a\u4f1a\u793e\u3067\u3059\u3002\u5f53\u793e\u306f\u7c73\u56fd\u3068\u30a4\u30f3\u30c9\u3092\u62e0\u70b9\u3068\u3059\u308b\u30aa\u30d5\u30b7\u30e7\u30a2 Ruby on Rails \u958b\u767a\u3092\u5c02\u9580\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u7d4c\u9a13\u8c4a\u5bcc\u306a Ruby on Rails \u958b\u767a\u8005\u3092\u96c7\u3063\u3066\u3001\u7a76\u6975\u306e Web \u30a8\u30af\u30b9\u30da\u30ea\u30a8\u30f3\u30b9\u3092\u5b9f\u73fe\u3057\u307e\u3057\u3087\u3046\u3002","publisher":{"@id":"https:\/\/www.railscarma.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.railscarma.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.railscarma.com\/#organization","name":"\u30ec\u30fc\u30eb\u30ab\u30fc\u30de","url":"https:\/\/www.railscarma.com\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png","contentUrl":"https:\/\/www.railscarma.com\/wp-content\/uploads\/2020\/08\/railscarma_logo.png","width":200,"height":46,"caption":"RailsCarma"},"image":{"@id":"https:\/\/www.railscarma.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RailsCarma\/","https:\/\/x.com\/railscarma","https:\/\/www.linkedin.com\/company\/railscarma\/","https:\/\/myspace.com\/railscarma","https:\/\/in.pinterest.com\/railscarma\/","https:\/\/www.youtube.com\/channel\/UCx3Wil-aAnDARuatTEyMdpg"]},{"@type":"Person","@id":"https:\/\/www.railscarma.com\/#\/schema\/person\/5f2228a2dec7549056e709de6eb85d21","name":"\u7ba1\u7406\u8005","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.railscarma.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/308867ca6c81f3aba146080c601000087180326f752c4116849ea9f514c6a4fa?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/www.railscarma.com\/hire-ruby-on-rails-developer\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/posts\/6512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/comments?post=6512"}],"version-history":[{"count":0,"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/posts\/6512\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/media\/32034"}],"wp:attachment":[{"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/media?parent=6512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/categories?post=6512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.railscarma.com\/ja\/wp-json\/wp\/v2\/tags?post=6512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}