<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mom0tomo</author_name>
  <author_url>https://blog.hatena.ne.jp/mom0tomo/</author_url>
  <blog_title>dev/mom0tomo</blog_title>
  <blog_url>https://mom0tomo.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>読んだもの Rubyのattr_accessor, attr_reader, attr_writerとは何か -- ぺけみさお 学んだこと attr_accessor とは、インスタンス変数にアクセスするためのメソッドを定義するメソッドのこと。 プライベート変数に対するセッタやゲッタを自動的にセットしてくれる。 以下の３種類が使える。 attr_accessor： セッタとゲッタを共に定義する attr_reader ： ゲッタのみを定義する attr_writer ： セッタのみを定義する attr_readerは下のメソッドと同じ働きをする。 class User attr_reader …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmom0tomo.hateblo.jp%2Fentry%2F2018%2F10%2F01%2F133129&quot; title=&quot;Rubyのattr_accessorとは - dev/mom0tomo&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-01 13:31:29</published>
  <title>Rubyのattr_accessorとは</title>
  <type>rich</type>
  <url>https://mom0tomo.hateblo.jp/entry/2018/10/01/133129</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
