Introduction

Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, extensible, and portable. 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
  • Install