{"author_name":"ayaketan","type":"rich","width":"100%","height":"190","provider_url":"https://hatena.blog","title":"\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306erb\u30d5\u30a1\u30a4\u30eb\u3092require\u3059\u308b\u3068LoadError\u306b\u306a\u308b","provider_name":"Hatena Blog","version":"1.0","description":"\u4e0b\u8a18\u306e\u3088\u3046\u306bhello.rb\u3068use_hello.rb\u3092\u4f5c\u6210\u3057\u3001\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u7f6e\u3044\u3066use_hello.rb\u3092\u5b9f\u884c\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002 hello.rb def hello print \"Hello, ruby.\" end use_hello.rb require \"hello\" hello() \u3069\u3046\u3084\u3089\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089require\u304c\u4f7f\u3048\u306a\u3044\u3088\u3046\u3060\u3002 require\u306e\u4ee3\u308f\u308a\u306brequire_relative\u3092\u4f7f\u3063\u3066\u307f\u308b\u3068\u3046\u307e\u304f\u3044\u3063\u305f\u3002 use_hello.rb require_relative \"hello\" hello() \u53c2\u8003\u8a18\u4e8b\uff1a rspec\u4f7f\u7528\u6642\u3001ruby1.9.2\u3067\u2026","blog_url":"https://ayaketan.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayaketan.hatenablog.com%2Fentry%2F20120116%2F1326680760\" title=\"\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306erb\u30d5\u30a1\u30a4\u30eb\u3092require\u3059\u308b\u3068LoadError\u306b\u306a\u308b - ayaketan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u52c9\u5f37\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://ayaketan.hatenablog.com/entry/20120116/1326680760","author_url":"https://blog.hatena.ne.jp/ayaketan/","published":"2012-01-16 11:26:00","blog_title":"ayaketan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u52c9\u5f37\u65e5\u8a18","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/a/ayaketan/20120116/20120116112351.jpg","categories":["Ruby"]}