{"title":"Ruby\u5165\u9580\u4e2d","image_url":null,"width":"100%","blog_url":"https://miz-tech.hatenadiary.org/","published":"2009-10-21 00:38:14","url":"https://miz-tech.hatenadiary.org/entry/20091021/1256053094","provider_url":"https://hatena.blog","description":"\u7121\u4e8bRuby/SDL\u304c\u52d5\u3044\u305f\u306e\u3067\u4f55\u304b\u4f5c\u308d\u3046\u304b\uff01\u3068\u601d\u3063\u305f\u304cRuby\u3092\u5b8c\u5168\u306b\u5fd8\u308c\u3066\u3044\u305f\u3002 \u77e5\u8b58\u30bc\u30ed \u672c\u5f53\u306b\u6700\u521d\u304b\u3089\u3084\u308a\u76f4\u3059\u3002\u8907\u6570\u306e\u8fd4\u308a\u5024\u3092\u6301\u3064 \u3067\u547c\u3073\u51fa\u3059\u3068\u5b9a\u6570 Math::PI \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 $var1 global\u5909\u6570 @var2 \u30af\u30e9\u30b9\u5909\u6570 class Foo def initialize(a,b,c) #\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf @a,@b,@c=a,b,c #\u5206\u5272\u4ee3\u5165 end attr_reader :a # a\u306f\u8aad\u307f\u51fa\u3057\u53ef\u80fd \u66f8\u304d\u8fbc\u307f\u4e0d\u53ef attr_writer :b # b\u306f\u8aad\u307f\u51fa\u3057\u4e0d\u53ef \u66f8\u304d\u8fbc\u307f\u53ef\u80fd attr_accesor :c # \u5171\u306b\u53ef\u80fd def no nil end private \u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmiz-tech.hatenadiary.org%2Fentry%2F20091021%2F1256053094\" title=\"Ruby\u5165\u9580\u4e2d - /Users/mizchi/workplace/\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"miz_tech","type":"rich","version":"1.0","blog_title":"/Users/mizchi/workplace/","categories":["ruby"],"height":"190","author_url":"https://blog.hatena.ne.jp/miz_tech/"}