{"published":"2007-06-17 22:07:28","provider_name":"Hatena Blog","width":"100%","blog_url":"https://troter.hatenablog.jp/","description":"class VerbalArithmetic def initialize(expr) parse(expr) analys end attr_reader :factor, :sum, :table private def parse(expr) term = expr.scan(/\\w+/) unless expr.count('=') == 1 && (expr.count('+') + 2) == term.length raise AugmentError, \"syntax error: #{expr}\" end @factors = term[0,(expr.count('+') \u2026","type":"rich","height":"190","provider_url":"https://hatena.blog","categories":["Ruby","QUIZ"],"author_url":"https://blog.hatena.ne.jp/troter/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftroter.hatenablog.jp%2Fentry%2F20070617%2F1182085648\" title=\" Verbal Arithmetic (#128) - \u653e\u7267\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>","image_url":null,"title":" Verbal Arithmetic (#128)","blog_title":"\u653e\u7267\u65e5\u8a18","version":"1.0","url":"https://troter.hatenablog.jp/entry/20070617/1182085648","author_name":"troter"}