{"id":15328,"date":"2017-02-13T13:18:44","date_gmt":"2017-02-13T04:18:44","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=15328"},"modified":"2024-05-06T11:40:25","modified_gmt":"2024-05-06T02:40:25","slug":"%e4%bb%8a%e6%9b%b4%e8%81%9e%e3%81%91%e3%81%aa%e3%81%84%ef%bc%81ruby%e3%81%aeclass%e3%81%a8%e3%81%af%ef%bc%9f%e5%9f%ba%e7%a4%8e%e3%81%8b%e3%82%89%e7%99%ba%e5%b1%95%e3%81%be%e3%81%a7%ef%bc%81","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/15328","title":{"rendered":"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f"},"content":{"rendered":"<p>class(\u30af\u30e9\u30b9)\u306f\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u306e\u5171\u901a\u51e6\u7406\u3092\u4e00\u3064\u306b\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u884c\u3046\u4e0a\u3067\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u306f\u3088\u304f\u3042\u308a\u307e\u3059\u304c\u3001\u3044\u307e\u3044\u3061\u4f7f\u3044\u65b9\u3092\u308f\u304b\u3063\u3066\u3044\u306a\u3044\u4eba\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p><div class=\"box_voice\">\u305d\u3082\u305d\u3082\u30af\u30e9\u30b9\u3063\u3066\u4f55\uff1f<br \/>\n\u30af\u30e9\u30b9\u306e\u4f7f\u3044\u65b9\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044<br \/>\n\u30af\u30e9\u30b9\u306e\u5909\u6570\u3084\u7d99\u627f\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3063\u3066\u3069\u3046\u3044\u3046\u3053\u3068\uff1f<\/div><\/p>\n<p>\u305d\u3093\u306a\u65b9\u306b\u3080\u3051\u3066\u3001\u3053\u3053\u3067\u306fRuby\u306eclass\uff08\u30af\u30e9\u30b9\uff09\u306b\u3064\u3044\u3066\u7db2\u7f85\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>\u30af\u30e9\u30b9\uff08class\uff09\u3068\u306f<\/b><\/li>\n<li><b>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u306f<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306einitialize<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306e\u5909\u6570<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306e\u7d99\u627f<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u3053\u306e\u30da\u30fc\u30b8\u3067\u3001Ruby\u306eclass\uff08\u30af\u30e9\u30b9\uff09\u306e\u4f7f\u3044\u65b9\u3092\u3088\u304f\u628a\u63e1\u3057\u3066\u3001\u81ea\u5206\u306e\u30b9\u30ad\u30eb\u3068\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff01<\/p>\n<h2>\u30af\u30e9\u30b9\uff08class\uff09\u3068\u306f<\/h2>\n<p><img decoding=\"async\" class=\"alignnone size-large wp-image-38403\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/20171129_ruby_class_image-640x453.jpg\" alt=\"ruby\u306eclass\uff08\u30af\u30e9\u30b9\uff09\u3068\u306f\" width=\"640\" height=\"453\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/20171129_ruby_class_image.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/20171129_ruby_class_image-150x106.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/11\/20171129_ruby_class_image-300x212.jpg 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><div class=\"img-caption\">\u753b\u50cf\uff1ashutter stock<\/div><\/p>\n<p>\u30af\u30e9\u30b9\uff08class\uff09\u3068\u306f\u3001\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u306e\u51e6\u7406\u3092\u5165\u308c\u308b\u5165\u308c\u7269\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002Ruby\u306a\u3069\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u578b\u306e\u8a00\u8a9e\u3067\u306f\u3001\u3053\u306e\u5165\u308c\u7269\u3067\u3042\u308b\u30af\u30e9\u30b9\u306e\u4e2d\u306b\u51e6\u7406\u3092\u66f8\u304f\u3053\u3068\u304c\u57fa\u672c\u3068\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class User\r\n  def name\r\n    @name\r\n  end\r\n\r\n  def name=(name)\r\n    @name = name\r\n  end\r\nend<\/pre>\n<p>\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u5177\u4f53\u7684\u306b\u306f\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\u3088\u308aRuby\u8a00\u8a9e\u306b\u65b0\u3057\u3044\u300c\u578b\u300d\u3092\u52a0\u3048\u308b\u3053\u3068\u3067\u3059\u3002\u305d\u306e\u578b\u3092new\u3059\u308b\u3068\u3001\u5909\u6570\u306b\u65b0\u3057\u3044\u578b\u306e\u300c\u5024\u300d\u3092\u4ee3\u5165\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001String\u30af\u30e9\u30b9\u3068\u3044\u3046\u300c\u578b\u300d\u304b\u3089new\u3057\u3066String\u578b\u306e\u5024\u3092\u4f5c\u6210\u3057\u3001\u5909\u6570who\u3078\u5024\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u300cp who\u300d\u3067who\u306e\u4e2d\u8eab\u306e\u5024\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u306f\u6587\u5b57\u5217\u306e\u201djobs\u201d\u3067\u3059\u306d\u3002<\/p>\n<pre class=\"lang:ruby decode:true \"># String\u3068\u3044\u3046\u578b\uff08\u30af\u30e9\u30b9\uff09\u306e\u5024\u3092new\u3067\u4f5c\u6210\u3057\u5909\u6570who\u3078\u4ee3\u5165\r\nwho = String.new(\"jobs\")\r\n\r\n#who\u306b\u306fString\u578b\u306e\u5024\u304c\u5165\u3063\u3066\u3044\u308b\r\np who<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\"jobs\"<\/pre>\n<p>\u6b21\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u4e0a\u306b\u8a18\u8f09\u3057\u305fUser\u30af\u30e9\u30b9\u306e\u300c\u578b\u300d\u304b\u3089new\u3057\u3066User\u30af\u30e9\u30b9\u306e\u5024\u3092\u4f5c\u6210\u3057\u3001\u5909\u6570user\u306b\u5024\u3092\u4ee3\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class User\r\n  def name\r\n    @name\r\n  end\r\n\r\n  def name=(name)\r\n    @name = name\r\n  end\r\nend\r\n\r\n# User\u3068\u3044\u3046\u578b\uff08\u30af\u30e9\u30b9\uff09\u306e\u5024\u3092new\u3067\u4f5c\u6210\u3057\u5909\u6570user\u3078\u4ee3\u5165\r\nuser = User.new\r\n\r\n#user\u306b\u306fUser\u578b\u306e\u5024\u304c\u5165\u3063\u3066\u3044\u308b\r\np user\r\n\r\nuser.name = \"user\"\r\np user.name<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">#&lt;User:0x4da9330&gt;\r\n\"user\"<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306e1\u884c\u76ee\u3067\u3001\u300cp user\u300d\u306e\u51fa\u529b\u7d50\u679c\u304c\u5f97\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001Ruby\u306e\u30af\u30e9\u30b9\u306e\u8868\u793a\u65b9\u6cd5\u3068\u3057\u3066\u6c7a\u3081\u3089\u308c\u3066\u3044\u308b\u5b9a\u578b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u6cbf\u3063\u305f\u300c\u306a\u306b\u304c\u3057\u304b\u306e\u30af\u30e9\u30b9\u3067\u3059\u300d\u3068\u3044\u3046\u610f\u5473\u306e\u8868\u793a\u3067\u3042\u308b\u300c#&lt;User:0x4da9330&gt;\u300d\u3068\u3044\u3046\u8868\u793a\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306e\u610f\u5473\u3059\u308b\u3068\u3053\u308d\u306f\u300cUser\u30af\u30e9\u30b9\u306e\u5024\u3067\u3059\u3088\u300d\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u5b9f\u884c\u7d50\u679c\u306e2\u884c\u76ee\u306f\u3001User\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u51fa\u529b\u3067\u3059\u3002Ruby\u306b\u306f<b>String\u306a\u3069\u3042\u3089\u304b\u3058\u3081\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u4fbf\u5229\u306a\u30af\u30e9\u30b9<\/b>\uff08\u578b\uff09\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u306b\u52a0\u3048\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u81ea\u8eab\u304cRuby\u306b\u65b0\u305f\u306a\u30af\u30e9\u30b9\uff08\u578b\uff09\u3092\u4ed8\u3051\u52a0\u3048\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u3088\u308a\u826f\u304fRuby\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u70b9\u306b\u3064\u3044\u3066\u3001\u4ee5\u964d\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30b9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9<\/h2>\n<p>\u30af\u30e9\u30b9\u306b\u306f\u51e6\u7406\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u304c\u3001\u5b9f\u969b\u306b\u51e6\u7406\u3092\u884c\u3046\u3068\u304d\u306f\u3001\u30af\u30e9\u30b9\u304b\u3089\u300c\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u300d\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3092\u751f\u6210\u3057\u3066\u3001\u51e6\u7406\u3092\u884c\u308f\u305b\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u751f\u6210\u306b\u306f\u300cnew\u300d\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class User\r\n  def name\r\n    @name\r\n  end\r\n\r\n  def name=(name)\r\n    @name = name\r\n  end\r\n\r\nend\r\n\r\nuser = User.new\r\nuser.name = \"taro\"\r\np user.name<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">taro<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306b\u30af\u30e9\u30b9\u3092\u4f7f\u7528\u3059\u308b\u3068\u304d\u306f\u57fa\u672c\u7684\u306b\u3001\u300cnew\u300d\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066<b>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u751f\u6210\u3057\u3066\u3001\u51e6\u7406\u3092\u884c\u3046\u3068\u3044\u3046\u6d41\u308c\u3092\u610f\u8b58<\/b>\u3057\u307e\u3057\u3087\u3046\u3002\u3088\u304f\u8a00\u308f\u308c\u308b\u4f8b\u3068\u3057\u3066\u306f\u30af\u30e9\u30b9\u304c\u305f\u3044\u713c\u304d\u306e\u578b\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u305f\u3044\u713c\u304d\u306a\u3069\u3068\u8a00\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u8981\u306f\u30af\u30e9\u30b9\u304b\u3089\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u751f\u6210\u3055\u308c\u308b\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3092\u6301\u3064\u3053\u3068\u304c\u5927\u5207\u3067\u3059\u3002\u307e\u305f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u305d\u308c\u305e\u308c\u72ec\u7acb\u3057\u3066\u5024\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class User\r\n  def name\r\n    @name\r\n  end\r\n\r\n  def name=(name)\r\n    @name = name\r\n  end\r\n\r\nend\r\n\r\nuser1 = User.new\r\nuser2 = User.new\r\nuser1.name = \"taro\"\r\nuser2.name = \"hanako\"\r\np user1.name \r\np user2.name<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">taro\r\nhanako<\/pre>\n<p>\u4e0a\u306e\u4f8b\u3067\u306f\u3001User\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u3066\u3001\u305d\u308c\u305e\u308c\u306b\u30c7\u30fc\u30bf\u3092\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\uff01<\/p>\n<h2>\u30af\u30e9\u30b9\u306einitialize<\/h2>\n<p>Ruby\u306e\u30af\u30e9\u30b9\u306einitialize\u30e1\u30bd\u30c3\u30c9\u306f\u30af\u30e9\u30b9\u304cnew\u3055\u308c\u305f\u969b\u306b\u4e00\u5ea6\u3060\u3051\u5b9f\u884c\u3055\u308c\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u4e3b\u306b\u30af\u30e9\u30b9\u306e\u521d\u671f\u5316\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u30b3\u30fc\u30c9\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class Hello\r\n  def initialize(username)\r\n    @username = username\r\n  end\r\n  def hello\r\n    puts \"hello, \" + @username.to_s\r\n  end\r\nend\r\n\r\nh = Hello.new(\"Kevin\")\r\nh.hello<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">hello, Kevin<\/pre>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001new\u306e\u5f15\u6570\u306b\u201dKevin\u201d\u3092\u4e0e\u3048\u3066\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002new\u304c\u547c\u3070\u308c\u305f\u969b\u306bHello\u30af\u30e9\u30b9\u306einitialize\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u3055\u308c\u3001new\u306e\u5f15\u6570\u304cinitialize\u306e\u5f15\u6570\u306b\u6e21\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>initialize\u3067\u306f\u3001\u5f15\u6570\u3092\u3082\u3068\u306b\u30af\u30e9\u30b9\u5909\u6570@username\u3092\u521d\u671f\u5316\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u5f8cHello\u30af\u30e9\u30b9\u306ehello\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3057\u305f\u969b\u306b\u3001@username\u304c\u304d\u3061\u3093\u3068\u521d\u671f\u5316\u3057\u305f\u901a\u308a\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001initialize\u306f\u8907\u6570\u5b9a\u7fa9\u3057\u3066\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3067\u304d\u307e\u305b\u3093\u3002\u5b9f\u969b\u306b\u4f8b\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class Hello\r\n  def initialize(he)\r\n    @he = he\r\n  end\r\n  def initialize(he,her)\r\n    @he = he\r\n    @her = her\r\n  end\r\n  def hello\r\n    puts \"hello, Mt.\" + @he.to_s + \" and Ms.\" + @her.to_s\r\n  end\r\nend\r\n\r\n#h = Hello.new(\"Kevin\") #=&gt;wrong number of arguments (given 1, expected 2) (ArgumentError)\r\nh = Hello.new(\"Kevin\", \"Jane\") #=&gt;hello, Mt.Kevin and Ms.Jane\r\nh.hello<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \"> \r\n#h = Hello.new(\"Kevin\") #=&gt;wrong number of arguments (given 1, expected 2) (ArgumentError)\r\nhello, Mt.Kevin and Ms.Jane<\/pre>\n<p>Hello\u30af\u30e9\u30b9\u306e\u4e00\u756a\u76ee\u306einitialize\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3059\u306d\u3002\u3053\u308c\u306f\u3001\u4e00\u756a\u76ee\u306einitialize\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\u304c\u3001\u4e8c\u756a\u76ee\u306einitialize\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\u3067\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u4e00\u756a\u76ee\u306einitialize\u30e1\u30bd\u30c3\u30c9\u306e<b>\u5b9a\u7fa9\u306f\u3082\u3046\u5b58\u5728\u305b\u305a\u3001\u305d\u308c\u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc<\/b>\u3068\u306a\u308a\u307e\u3059\u3002\u30af\u30e9\u30b9\u306einitialize\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/21170\" 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\/10\/20171002_ruby_new-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Ruby\u5165\u9580\u3011class\u306enew\u3068initialize\u306b\u3064\u3044\u3066\u307e\u3068\u3081<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9<\/h2>\n<h4>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9<\/h4>\n<p>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306f\u30af\u30e9\u30b9\u540d\u3092\u30ec\u30b7\u30fc\u30d0\u3068\u3057\u3066\u5b9f\u884c\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u306f\u3001\u5f8c\u8ff0\u3059\u308b\u30af\u30e9\u30b9\u5909\u6570\u3057\u304b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u3068\u306f\u3001\u30af\u30e9\u30b9\u304b\u3089\u4f5c\u6210\u3057\u305f\u3059\u3079\u3066\u306e\u5909\u6570\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u304c\u5171\u901a\u3057\u3066\u6301\u3063\u3066\u3044\u308b\u5909\u6570\u3067\u3059\u3002\u901a\u5e38\u3001\u5909\u6570\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u306f\u3001\u5024\u3092\u5909\u6570\u3054\u3068\u306b\u5225\u3005\u306b\u6301\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30af\u30e9\u30b9\u5909\u6570\u3060\u3051\u306f\u3001\u5171\u901a\u3057\u3066\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u306f\u3001\u5f8c\u8ff0\u3059\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306b\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306f\u305d\u306e\u30af\u30e9\u30b9\u304b\u3089\u4f5c\u6210\u3057\u305f\u3059\u3079\u3066\u306e\u5909\u6570\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u304c\u5171\u901a\u3057\u3066\u6301\u3063\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5225\u3005\u306b\u5206\u304b\u308c\u305f\u5909\u6570\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u304c\u5225\u3005\u306e\u5024\u3068\u3057\u3066\u6301\u3063\u3066\u3044\u308b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306f\u64cd\u4f5c\u3067\u304d\u307e\u305b\u3093\u3002\u5b9f\u969b\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class Counter\r\n  @@cnt = 0\r\n  \r\n  def initialize(counter_name)\r\n    @@cnt+=1\r\n    @counter_name = counter_name\r\n  end\r\n  \r\n  def self.get_cnt\r\n    @@cnt\r\n  end\r\n  \r\n  def self.counter_name\r\n    @counter_name\r\n  end\r\nend\r\n\r\ncnt1 = Counter.new(\"apple\")\r\ncnt2 = Counter.new(\"banana\")\r\ncnt3 = Counter.new(\"cookie\")\r\n\r\np Counter.get_cnt\r\np Counter.counter_name<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">3\r\nnil<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306e1\u884c\u76ee\u3067\u306f\u3001\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9<b>\u300cCounter.get_cnt\u300d\u304b\u3089\u30af\u30e9\u30b9\u5909\u6570@@cnt\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u5024\u304c\u8868\u793a<\/b>\u3055\u308c\u3066\u3044\u307e\u3059\u3002Counter\u3092new\u3059\u308b\u305f\u3073\u306b\u3001initialize\u3067\u300c@@cnt+=1\u300d\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>Counter\u306e\u5909\u6570\uff08\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff09\u3092\uff13\u3064\u4f5c\u6210\u3057\u3066\u308b\u306e\u3067\u3001@@cnt\u3082\u300c3\u300d\u307e\u3067\u30ab\u30a6\u30f3\u30c8\u30a2\u30c3\u30d7\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5b9f\u884c\u7d50\u679c\u306e2\u884c\u76ee\u3067\u306f\u3001\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u300cCounter.couter_name\u300d\u304b\u3089\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u300c@counter_name\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001<b>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306b\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044<\/b>\u305f\u3081\u3001\u7d50\u679c\u306fnil\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/19208\" 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\/03\/image5-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Ruby\u5165\u9580\u3011\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\uff5c\u547c\u3073\u51fa\u3057\u30fb\u305d\u306e\u4ed6\u30e1\u30bd\u30c3\u30c9<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h4>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9<\/h4>\n<p>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3067\u89e3\u8aac\u3057\u305fCounter\u30af\u30e9\u30b9\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002\u4eca\u5ea6\u306f\u3001\u300cself. counter_name\u300d\u3068\u3044\u3046\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u300cself\u300d\u3092\u5916\u3057\u3001\u300ccounter_name\u300d\u3068\u3044\u3046\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u300cself.get_cnt\u300d\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3082\u3001\u300cget_cnt\u300d\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3057\u307e\u3057\u3087\u3046\u3002\u9055\u3044\u306f\u3053\u308c\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class Counter\r\n  @@cnt = 0\r\n  \r\n  def initialize(counter_name)\r\n    @@cnt+=1\r\n    @counter_name = counter_name\r\n  end\r\n  \r\n  def get_cnt\r\n    @@cnt\r\n  end\r\n  \r\n  def counter_name\r\n    @counter_name\r\n  end\r\nend\r\n\r\ncnt1 = Counter.new(\"apple\")\r\ncnt2 = Counter.new(\"banana\")\r\ncnt3 = Counter.new(\"cookie\")\r\n\r\n\r\np cnt3.get_cnt\r\np \"cnt1=\" + cnt1.counter_name\r\np \"cnt2=\" + cnt2.counter_name\r\np \"cnt3=\" + cnt3.counter_name<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">3\r\n\"cnt1=apple\"\r\n\"cnt2=banana\"\r\n\"cnt3=cookie\"<\/pre>\n<p>\u300ccounter_name\u300d\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306b\u3057\u305f\u3060\u3051\u3067\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u300c@counter_name\u300d\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u300c@counter_name\u300d\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3067\u3059\u306e\u3067\u3001cnt\u306e\u5909\u6570\u3054\u3068\u306b\u5024\u304c\u9055\u3044\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u306b\u5171\u901a\u3057\u3066\u6301\u3064\u30af\u30e9\u30b9\u5909\u6570@@cnt\u306b\u3082\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u300cget_cnt\u300d\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u3066\u3044\u307e\u3059\u3002\u300ccnt3.get_cnt\u300d\u3068\u3001<b>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570cnt3\u7d4c\u7531\u3067\u3001\u300cget_cnt\u300d\u3092\u547c\u3093\u3067\u3044\u308b\u3053\u3068\u306b\u6ce8\u610f<\/b>\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u306f\u3001\u30af\u30e9\u30b9\u5909\u6570\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3068\u3082\u306b\u30a2\u30af\u30bb\u30b9\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u30af\u30e9\u30b9\u306e\u5909\u6570<\/h2>\n<p>Ruby\u306e\u5909\u6570\u306b\u306f\u4ee5\u4e0b\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n<div class=\"box01\"><\/p>\n<li><b>\u30ed\u30fc\u30ab\u30eb\u5909\u6570<\/b><\/li>\n<li><b>\u5b9a\u6570<\/b><\/li>\n<li><b>\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570<\/b><\/li>\n<li><b>\u30d6\u30ed\u30c3\u30af\u5909\u6570<\/b><\/li>\n<li><b>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u5909\u6570<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570<\/b><\/li>\n<\/div>\n<p>\u3053\u306e\u3046\u3061\u30af\u30e9\u30b9\u306b\u95a2\u3059\u308b\u5909\u6570\u306f\u30a4\u30f3\u30bf\u30f3\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306e3\u3064\u3067\u3059\u3002\u524d\u7ae0\u3067\u3082\u8a18\u8f09\u3057\u305f\u901a\u308a\u3001\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u306f\u3001\u30af\u30e9\u30b9\u5909\u6570\u306b\u3057\u304b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u307e\u305f\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u304b\u3089\u306f\u30af\u30e9\u30b9\u5909\u6570\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3068\u3082\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3068\u306f\u3001\u30af\u30e9\u30b9\u5909\u6570\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306a\u3069\u3068\u306f\u9055\u3046\u5909\u6570\u3067\u3059\u3002\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3082\u30af\u30e9\u30b9\u306e\u5b9a\u7fa9\u5185\u3067\u5b9a\u7fa9\u3059\u308b\u5909\u6570\u3067\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306e\u9055\u3044\u306f\u3001\u30af\u30e9\u30b9\u5909\u6570\u306f\u305d\u306e\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u305f\u5b50\u30af\u30e9\u30b9\u304b\u3089\u3082\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u306e\u306b\u5bfe\u3057\u3066\u3001\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306f\u305d\u306e\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u305f\u5b50\u30af\u30e9\u30b9\u304b\u3089\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308b\u3068\u3044\u3046\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30af\u30e9\u30b9\u5909\u6570\u306e\u6271\u3044\u65b9\u306b\u95a2\u3057\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u3067\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/12879\" 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\/2016\/12\/image1-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Ruby\u5165\u9580\u3011\u5909\u6570\u306e\u6271\u3044\u65b9\u307e\u3068\u3081\uff5c\u30af\u30e9\u30b9\u30fb\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30fb\u30b0\u30ed\u30fc\u30d0\u30eb<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u30af\u30e9\u30b9\u306e\u7d99\u627f<\/h2>\n<p>Ruby\u306e\u7d99\u627f\u306f\u300c&lt;\u300d\u3092\u4f7f\u3046\u3053\u3068\u3067\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306fAnimal\u30af\u30e9\u30b9\u3092Dog\u30af\u30e9\u30b9\u306b\u7d99\u627f\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">class Animal\r\n  def name\r\n    \"animal\"\r\n  end\r\n  \r\n  def talk\r\n    \"Gaw\"\r\n  end\r\nend\r\n\r\nclass Dog &lt; Animal\r\n  def talk\r\n    \"Bow\"\r\n  end\r\n\r\n  def marking\r\n    \"CanCan\"\r\n  end\r\nend\r\n\r\nanimal = Animal.new\r\ndog = Dog.new\r\n\r\n# \u7d99\u627f\uff08\u6a5f\u80fd\u306e\u6d41\u7528\uff09\r\np animal.name\r\np dog.name\r\n\r\n# \u30dd\u30ea\u30e2\u30eb\u30d5\u30a3\u30ba\u30e0\uff08\u6a5f\u80fd\u306e\u5909\u66f4\uff09\r\np animal.talk\r\np dog.talk\r\n\r\n# \u5dee\u5206\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\uff08\u6a5f\u80fd\u306e\u8ffd\u52a0\uff09\r\np dog.marking<\/pre>\n<p>[\u5b9f\u884c\u7d50\u679c]<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">\"animal\"\r\n\"animal\"\r\n\"Gaw\"\r\n\"Bow\"\r\n\"CanCan\"<\/pre>\n<p>\u7d99\u627f\u304c\u6210\u529f\u3057\u3001Dog\u30af\u30e9\u30b9\u3067\u3082Animal\u30af\u30e9\u30b9\u306ename\u30e1\u30bd\u30c3\u30c9\u304c\u4f7f\u3048\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b<b>Ruby\u3067\u306f\u300c&lt;\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u7c21\u5358\u306b\u7d99\u627f\u3092\u884c\u3046<\/b>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30af\u30e9\u30b9\u306e\u7d99\u627f\u3092\u884c\u3046\u3068\u3001\u4ee5\u4e0b\u306e\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>\u6a5f\u80fd\u306e\u6d41\u7528<br \/>\n\u89aa\u30af\u30e9\u30b9\u306e\u6a5f\u80fd\u3092\u305d\u306e\u307e\u307e\u5b50\u30af\u30e9\u30b9\u3067\u6d41\u7528\u3059\u308b\u3053\u3068\u3002<\/b><\/li>\n<li><b>\u6a5f\u80fd\u306e\u5909\u66f4<br \/>\n\u30dd\u30ea\u30e2\u30eb\u30d5\u30a3\u30ba\u30e0\uff08\u591a\u69d8\u6027\uff09\u3068\u8a00\u3044\u3001\u540c\u3058\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3044\u5b50\u30af\u30e9\u30b9\u3067\u30e1\u30bd\u30c3\u30c9\u52d5\u4f5c\u5185\u5bb9\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u3067\u3001\u89aa\u30af\u30e9\u30b9\u3068\u306f\u9055\u3046\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3002<\/b><\/li>\n<li><b>\u6a5f\u80fd\u306e\u8ffd\u52a0<br \/>\n\u5dee\u5206\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u3044\u3044\u3001\u89aa\u30af\u30e9\u30b9\u306b\u306a\u3044\u6a5f\u80fd\u3092\u5b50\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u3067\u8ffd\u52a0\u3053\u3068\u3002<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001\u7d99\u627f\u306b\u306f\u6a5f\u80fd\u306e\u6d41\u7528\u30fb\u5909\u66f4\u30fb\u8ffd\u52a0\u306a\u3069\u306e\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e00\u3064\u6ce8\u610f\u70b9\u304c\u3042\u308a\u3001Ruby\u306f\u7d99\u627f\u30921\u30af\u30e9\u30b9\u3057\u304b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u305d\u306e\u305f\u3081\u3001\u8907\u6570\u306e\u7d99\u627f\u306e\u3088\u3046\u306b\u5b9f\u88c5\u3057\u3088\u3046\u3068\u601d\u3046\u3068\u3001\u5f8c\u306b\u8aac\u660e\u3059\u308bMixin\u3068\u3044\u3046\u6a5f\u80fd\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/16094\" 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\/08\/image-621-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Ruby\u5165\u9580\u3011\u30af\u30e9\u30b9\u306e\u7d99\u627f\u307e\u3068\u3081<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb<\/h2>\n<h4>\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3064\u3044\u3066<\/h4>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4e00\u8a00\u3067\u8868\u3059\u3068<b>\u300c\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u80fd\u529b\u306f\u306a\u3044\u304c\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u683c\u7d0d\u3067\u304d\u308b\u3082\u306e\u300d<\/b>\u3067\u3059\u3002\u96e3\u3057\u304f\u8003\u3048\u305a\u306b\u30e1\u30bd\u30c3\u30c9\u3092\u5165\u308c\u308b\u305f\u3081\u306e\u7bb1\u306a\u3093\u3060\u306a\u3068\u3044\u3046\u610f\u8b58\u3067\u5927\u4e08\u592b\u3067\u3059\u3002<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u306f \u300cmodule\u300d\u304b\u3089\u300cend\u300d \u3092\u4e00\u3064\u306e\u584a\u3068\u3057\u3066\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002module\u306e\u5f8c\u306b\u306f\u30e2\u30b8\u30e5\u30fc\u30eb\u540d\u3092\u4e0e\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:ruby decode:true \">module Number\r\n  def plus(num1, num2)\r\n    num1 + num2\r\n  end\r\nend<\/pre>\n<p>\u30af\u30e9\u30b9\u306e\u7d99\u627f\u3067\u306f\u6a5f\u80fd\u306e\u6d41\u7528\u30fb\u5909\u66f4\u30fb\u8ffd\u52a0\u304c\u53ef\u80fd\u3067\u3057\u305f\u3002\u305f\u3060\u3057\u3001\u30af\u30e9\u30b9\u9593\u306b\u306f\u3001\u300c\u7d99\u627f\u300d\u95a2\u4fc2\u304c\u5fc5\u8981\u3067\u3001\u89aa\u30af\u30e9\u30b9\u3068\u5b50\u30af\u30e9\u30b9\u306f<b>\u7d99\u627f\u95a2\u4fc2\u306e\u300c\u5b9a\u7fa9\u300d\u306b\u3088\u308a\u56fa\u304f\u7d50\u3073\u3064\u3044\u3066\u3044\u308b\u5fc5\u8981<\/b>\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u3001\u3053\u306e\u30af\u30e9\u30b9\u306e\u300c\u7d99\u627f\u300d\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u308b\u3082\u306e\u3067\u3001\u300c\u7d99\u627f\u300d\u306e\u5b9a\u7fa9\u306b\u3088\u3089\u305a\u3001\u3070\u3089\u3070\u3089\u306a\u30af\u30e9\u30b9\u306b\u5bfe\u3057\u3066\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5165\u308c\u8fbc\u3080\uff08MixIn\u3068\u3044\u3044\u307e\u3059\uff09\u3053\u3068\u306b\u3088\u308a\u3001\u6a5f\u80fd\u306e\u6d41\u7528\u30fb\u5909\u66f4\u30fb\u8ffd\u52a0\u3092\u884c\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u5165\u308c\u8fbc\u3093\u3060\u30af\u30e9\u30b9\u306f\u3001\u3059\u3079\u3066\u540c\u3058\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u5225\u3005\u306e\u30af\u30e9\u30b9\u306a\u306e\u306b\u3001\u307e\u308b\u3067\u540c\u3058\u30af\u30e9\u30b9\u3067\u3042\u308b\u304b\u306e\u3088\u3046\u306b\u3001\u5171\u901a\u306e\uff08\u30e2\u30b8\u30e5\u30fc\u30eb\uff09\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3079\u307e\u3059\u3002\u307e\u305f\u3001\u547c\u3073\u51fa\u3059\u30e1\u30bd\u30c3\u30c9\u306f\u3001\u30af\u30e9\u30b9\u3054\u3068\u306b\u52d5\u4f5c\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3088\u308a\u3001\u30af\u30e9\u30b9\u306b\u65b0\u3057\u3044\u30e1\u30bd\u30c3\u30c9\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u3053\u308c\u3089\u304c\u300c\u7d99\u627f\u300d\u306e\u5b9a\u7fa9\u3092\u305b\u305a\u306b\u5f97\u3089\u308c\u308b\u306e\u3067\u3059\u3002\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u6271\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/15408\" 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\/02\/image-13-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u306f\u3058\u3081\u3066\u306eRuby\uff01\u30e2\u30b8\u30e5\u30fc\u30eb(module)\u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h4>\u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u9055\u3044<\/h4>\n<p>\u307e\u305f\u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u9055\u3044\u306b\u306f\u4e3b\u306b<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>\u5b9a\u7fa9\u306e\u4ed5\u65b9<\/b><\/li>\n<li><b>\u7d99\u627f\u306e\u6709\u7121<\/b><\/li>\n<li><b>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3067\u304d\u308b\u304b<\/b><\/li>\n<li><b>Mixin\u3067\u304d\u308b\u304b<\/b><\/li>\n<li><b>Ruby\u4e0a\u306e\u3069\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306a\u306e\u304b<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u3067\u3059\u3002\u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb\u9055\u3044\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/16057\" 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\/07\/image-28-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Ruby\u5165\u9580\u3011include\u306e\u4f7f\u3044\u65b9\u3068require\u3068\u306e\u9055\u3044\u306b\u3064\u3044\u3066\u89e3\u8aac\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306f\u3001Ruby\u306eclass\uff08\u30af\u30e9\u30b9\uff09\u306b\u3064\u3044\u3066\u5b66\u7fd2\u3057\u307e\u3057\u305f\u3002\u5b66\u7fd2\u306e\u30dd\u30a4\u30f3\u30c8\u3092\u632f\u308a\u8fd4\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff01<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>\u30af\u30e9\u30b9\u3068\u306fRuby\u306b\u65b0\u3057\u3044\u300c\u578b\u300d\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3002<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306f\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u3044\u3046\u5909\u6570\u306b\u3059\u308b\u3053\u3068\u3067\u4f7f\u7528\u3067\u304d\u308b\u3002<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306einitialize\u306f\u30af\u30e9\u30b9\u304cnew\u3055\u308c\u308b\u969b\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306e\u30e1\u30bd\u30c3\u30c9\u306b\u306f\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u304c\u3042\u308b\u3002<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306e\u5909\u6570\u306b\u306f\u30af\u30e9\u30b9\u5909\u6570\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3001\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u304c\u3042\u308b\u3002<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306f\u30af\u30e9\u30b9\u5909\u6570\u3068\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3002<\/b><\/li>\n<li><b>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u30e1\u30bd\u30c3\u30c9\u306f\u30af\u30e9\u30b9\u5909\u6570\u3068\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3001\u30af\u30e9\u30b9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3002<\/b><\/li>\n<li><b>\u30af\u30e9\u30b9\u306f\u7d99\u627f\u3059\u308b\u3053\u3068\u3067\u3001\u6a5f\u80fd\u306e\u6d41\u7528\u30fb\u5909\u66f4\u30fb\u8ffd\u52a0\u304c\u3067\u304d\u308b\u3002<\/b><\/li>\n<li><b>\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u7d99\u627f\u95a2\u4fc2\u3092\u4f7f\u7528\u305b\u305a\u306b\u3001\u6a5f\u80fd\u306e\u6d41\u7528\u30fb\u5909\u66f4\u30fb\u8ffd\u52a0\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u4ee5\u4e0a\u306e\u5185\u5bb9\u3092\u518d\u78ba\u8a8d\u3057\u3001\u305c\u3072\u81ea\u5206\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u751f\u304b\u3057\u5b66\u7fd2\u3092\u9032\u3081\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>class(\u30af\u30e9\u30b9)\u306f\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u306e\u5171\u901a\u51e6\u7406\u3092\u4e00\u3064\u306b\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u884c\u3046\u4e0a\u3067\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u306f\u3088\u304f\u3042\u308a\u307e\u3059\u304c\u3001\u3044\u307e\u3044\u3061\u4f7f\u3044\u65b9\u3092\u308f\u304b\u3063\u3066\u3044\u306a\u3044\u4eba\u3082\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\uff1f \u305d\u3082\u305d\u3082\u30af\u30e9\u30b9\u3063\u3066\u4f55\uff1f \u30af [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":70287,"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":[971,114,192,965,68],"class_list":["post-15328","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-study","tag-class","tag-ruby","tag-192","tag-965","tag-68"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f \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\/15328\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f \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\/15328\" \/>\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-02-13T04:18:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:40:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/image-22.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\\\/15328#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\\\/\u30e1\u30bd\u30c3\u30c9\\\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\\\/\u7d99\u627f\",\"datePublished\":\"2017-02-13T04:18:44+00:00\",\"dateModified\":\"2024-05-06T02:40:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328\"},\"wordCount\":242,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/image-22.jpg\",\"keywords\":[\"class\",\"ruby\",\"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\",\"\u30af\u30e9\u30b9\",\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\"],\"articleSection\":[\"Ruby\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328\",\"name\":\"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\\\/\u30e1\u30bd\u30c3\u30c9\\\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\\\/\u7d99\u627f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/image-22.jpg\",\"datePublished\":\"2017-02-13T04:18:44+00:00\",\"dateModified\":\"2024-05-06T02:40:25+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\\\/\u30e1\u30bd\u30c3\u30c9\\\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\\\/\u7d99\u627f \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\\\/15328#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/image-22.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/02\\\/image-22.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/15328#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\\\/\u30e1\u30bd\u30c3\u30c9\\\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\\\/\u7d99\u627f\"}]},{\"@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":"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f \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\/15328","og_locale":"ja_JP","og_type":"article","og_title":"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f \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\/15328","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-02-13T04:18:44+00:00","article_modified_time":"2024-05-06T02:40:25+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/image-22.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\/15328#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/15328"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f","datePublished":"2017-02-13T04:18:44+00:00","dateModified":"2024-05-06T02:40:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/15328"},"wordCount":242,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/15328#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/image-22.jpg","keywords":["class","ruby","\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411","\u30af\u30e9\u30b9","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"articleSection":["Ruby\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/15328","url":"https:\/\/www.sejuku.net\/blog\/15328","name":"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/15328#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/15328#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/image-22.jpg","datePublished":"2017-02-13T04:18:44+00:00","dateModified":"2024-05-06T02:40:25+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f \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\/15328#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/15328"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/15328#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/image-22.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/image-22.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/15328#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Ruby\u306eclass(\u30af\u30e9\u30b9)\u4f7f\u3044\u65b9\u307e\u3068\u3081\uff5cnew\/\u30e1\u30bd\u30c3\u30c9\/\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\/\u7d99\u627f"}]},{"@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\/15328","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=15328"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/15328\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/70287"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=15328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=15328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=15328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}