Introduction
This component embeds the Ruby interpreter in a Kylix/Delphi application.
Usage examples
if ruby.EvalExpression('1+1') <> 2 then
raise Exception.create('Ruby can''t calculate!');
ruby.Expression.Text := 'print "Regexp".gsub!(/e.+/, "uby")';
ruby.Execute;
if ruby.Output <> 'Ruby' then
raise Exception.create('Ruby can''t write!');
Download / Developement
Installation
- Open Package Ruby.dpk
- Options / Conditions Add conditions RUBY18 for Ruby 1.8 or VCL, if you're using VCL.
- Install
Links
-
Ruby
-
Ruby Installer for Windows
-
Extending Ruby from Programming Ruby - The Pragmatic Programmer's Guide
-
Apollo - Delphi Ruby interface


