{"author_url":"https://blog.hatena.ne.jp/sinsoku/","published":"2022-05-16 00:26:36","image_url":null,"provider_url":"https://hatena.blog","author_name":"sinsoku","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinsoku.hatenablog.com%2Fentry%2F2022%2F05%2F16%2F002636\" title=\"Rust\u3067Ruby\u306egem\u3092\u66f8\u304f part2 - \u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"Rust\u3067Ruby\u306egem\u3092\u66f8\u304f part2","provider_name":"Hatena Blog","url":"https://sinsoku.hatenablog.com/entry/2022/05/16/002636","blog_title":"\u30a2\u30b8\u30e3\u30a4\u30ebSE\u306e\u6182\u9b31","width":"100%","blog_url":"https://sinsoku.hatenablog.com/","description":"Rust\u3067Ruby\u306egem\u3092\u66f8\u304f part1 \u306e\u7d9a\u304d\u3002 \u30af\u30e9\u30b9\u3084\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5909\u6570\u3092\u4f7f\u3046\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u88c5\u3057\u305f\u306e\u3067\u3001\u307e\u3068\u3081\u3066\u304a\u304f\u3002 Ruby\u3067\u5b9f\u88c5\u3057\u305f\u3044\u30b3\u30fc\u30c9\u306e\u30a4\u30e1\u30fc\u30b8 module Wasabi class Object def initialize(name) @name = name end attr_reader :name def say \"say, #{name}\" end end end \u5b9f\u969b\u306eRust\u306e\u30b3\u30fc\u30c9 github.com \u30af\u30e9\u30b9\u306e\u5b9a\u7fa9 \u307e\u305a\u3001Ruby\u306eObject\u3092Rust\u3067\u4f7f\u3046\u305f\u3081\u306b extern \u3092\u66f8\u304f\u3002 extern { static rb_cObject: Valu\u2026","type":"rich","categories":["ruby","rust"]}