NAME HTML::ERuby - ERuby processor for Perl. SYNOPSIS use HTML::ERuby; my $compiler = HTML::ERuby->new; my $result = $compiler->compile(filename => './foo.rhtml'); print $result; DESCRIPTION HTML::ERuby is a ERuby processor written in Perl. parse ERuby document by Perl and evaluate by Ruby. METHODS $compiler = HTML::ERuby->new constructs HTML::ERuby object. $result = $compiler->compile(\%option) compile ERuby document and return result. you can specify ERuby document as filename, scalarref or arrayref. $result = $compiler->compile(filename => $filename); $result = $compiler->compile(scalarref => \$rhtml); $result = $compiler->compile(arrayref => \@rhtml); CAVEATS this module is experimental. this module internal, using the Inline::Ruby manpage. so, it will create a '_Inline' directory in your current directory. but, you can specify it in the environment variable PERL_INLINE_DIRECTORY. See the the Inline manpage manpage for details. AUTHOR Author This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO the Inline manpage the Inline::Ruby manpage http://www2a.biglobe.ne.jp/~seki/ruby/erb.html http://www.modruby.net/