{"title":"Ruby\u3067\u4e8c\u6b21\u5143\u914d\u5217\u306e\u521d\u671f\u5316","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsimanman.hatenablog.com%2Fentry%2F2013%2F06%2F24%2F200306\" title=\"Ruby\u3067\u4e8c\u6b21\u5143\u914d\u5217\u306e\u521d\u671f\u5316 - siman\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://simanman.hatenablog.com/","categories":["Ruby"],"width":"100%","provider_name":"Hatena Blog","height":"190","image_url":null,"published":"2013-06-24 20:03:06","version":"1.0","author_url":"https://blog.hatena.ne.jp/simanman/","blog_title":"siman\u306e\u30d6\u30ed\u30b0","provider_url":"https://hatena.blog","url":"https://simanman.hatenablog.com/entry/2013/06/24/200306","description":"Ruby\u3067\u4e8c\u6b21\u5143\u914d\u5217\u3092\u521d\u671f\u5316\u3059\u308b\u3068\u304d\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002 \u30fb3x3\u306e2\u6b21\u5143\u914d\u5217\u3092\u4f5c\u308b\u3068\u304d\u306e\u3088\u304f\u3042\u308b\u9593\u9055\u3044 a = Array.new(3, Array.new(3, 0)) \u3053\u308c\u3067\u914d\u5217\u306e\u521d\u671f\u5316\u304c\u51fa\u6765\u305f\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u5b9f\u306f\u51fa\u6765\u3066\u3044\u307e\u305b\u3093\u3002\u5b9f\u969b\u306b\u914d\u5217\u306e\u72b6\u614b\u3092\u5909\u66f4\u3057\u3066\u307f\u308b\u3068\u660e\u3089\u304b\u306b\u306a\u308a\u307e\u3059\u3002 a = Array.new(3, Array.new(3, 0)) p a a[0][0] = 5 p a [[0, 0, 0], [0, 0, 0], [0, 0, 0]] [[5, 0, 0], [5, 0, 0], [5, 0, 0]]\u5b9f\u884c\u7d50\u679c\u304b\u3089\u7b2c\u4e00\u8981\u7d20\u306e\u914d\u5217\u306b\u5bfe\u3057\u3066\u884c\u3063\u305f\u64cd\u4f5c\u304c\u4ed6\u306e\u8981\u7d20\u306b\u5f71\u97ff\u3092\u53ca\u307c\u3057\u3066\u3044\u2026","author_name":"simanman"}