{"categories":["Ruby"],"image_url":null,"url":"https://secret-garden.hatenablog.com/entry/2015/08/22/000000","blog_url":"https://secret-garden.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2015%2F08%2F22%2F000000\" title=\"Ruby \u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u5f0f\u306e\u623b\u308a\u5024 - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Ruby \u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u5f0f\u306e\u623b\u308a\u5024","height":"190","author_url":"https://blog.hatena.ne.jp/osyo-manga/","blog_title":"Secret Garden(Instrumental)","published":"2015-08-22 00:00:00","type":"rich","author_name":"osyo-manga","provider_name":"Hatena Blog","description":"Ruby \u3067\u306f\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\uff08def\uff09\u3082\u5f0f\u306a\u306e\u3067\u623b\u308a\u5024\u304c\u3042\u308a\u307e\u3059\u3002 # \u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u306e\u623b\u308a\u5024\u306f\u30e1\u30bd\u30c3\u30c9\u540d\u306e Symbol name = def plus a, b a + b end p name # => :plus \u3053\u308c\u3063\u3066\u4f55\u304b\u306b\u5229\u7528\u3067\u304d\u308b\u306e\u3060\u308d\u3046\u304b\u3002 [\u304a\u307e\u3051] \u5f0f\u306a\u306e\u3067\u5f53\u7136\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002 # \u30e1\u30bd\u30c3\u30c9\u3092\u5b9a\u7fa9\u3057\u3064\u3064\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059 send(def plus a, b a + b end, 1, 2) # => 3 plus 3, 4 # => 7","version":"1.0"}