« [Ruby] hoe-seattlerb | トップページ | [Ruby] minitest »

2009年6月18日 (木)

[Ruby] enterprise


1.0.0 が公開された([ruby-talk:339546])。



Ruby のスクリプトを XML に変換したり、XML を Ruby のコードとしてロードしたりするライブラリ。



早速試してみた。



$ sudo gem install enterprise
$ cat hello.rb
class Foo
def bar
puts "baz"
end
end
Foo.new.bar
$ enterprise hello.rb # hello.xml が生成される。
$ enterprise_ruby hello.xml # xml ファイルを Ruby のスクリプトとしてロード
baz


1.9.2dev でも動きました。


|

« [Ruby] hoe-seattlerb | トップページ | [Ruby] minitest »

コメント

この記事へのコメントは終了しました。

トラックバック


この記事へのトラックバック一覧です: [Ruby] enterprise:

« [Ruby] hoe-seattlerb | トップページ | [Ruby] minitest »