2014-02-26から1日間の記事一覧

HashをDSLで書けるDslhというGemを作りました

タイトルの通り、HashをDSLで書けるDslhというGemを書きました。 https://bitbucket.org/winebarrel/dslh 使い方 require 'dslh' require 'pp' h = Dslh.eval do glossary do title "example glossary" GlossDiv do title "S" GlossList do GlossEntry do ID…