NAME
Inline::Ruby::dRuby::Client - [quick use dRuby object from perl]
SYNOPSIS
use Inline::Ruby::dRuby::Client;
my $ruby_obj = Inline::Ruby::dRuby::Client->new('druby://localhost:10001')
# call ruby's instance method
$ruby_obj->ruby_method();
use Inline::Ruby qw/rb_iter/; # use ruby's iter
# call ruby's instance with block
rb_iter($ruby_obj, sub {
my $arg = shift;
return $arg * $arg;
})->each;
# If ruby's code..
ruby_obj.each {|arg|
return arg * arg
}
DESCRIPTION
This module is dRuby object's delegetor. use this module, so quick use ruby's instance.
AUTHOR
Yuichi Tateno <hotchpotch@gmail.com>
SEE ALSO
LICENCE AND COPYRIGHT
Copyright (c) 2006, Yuichi Tateno <hotchpotch@gmail.com>
. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.