Re: using overloaded methods in script languages (here: ruby)

From: Axel Naumann <Axel.Naumann_at_cern.ch>
Date: Mon, 8 Mar 2010 17:47:22 +0100


Hi Robert,

this is very specific to the Ruby interface. It was written by Elias, now in CC. Let's hope that he will answer - if not: anyone else out there who would take this challenge?

Cheers, Axel.

Robert Riemann wrote on 03/08/2010 05:30 PM:
> Hi rooters,
>
> I tried to sum two TLorentzVectors using the Ruby-Root.
> I got the following error:
>
> irb(main):026:0> xges = x1+x2
> ArgumentError: You provided an unknown prototype (TLorentzVector*) for
> (TLorentzVector#+).
> from (irb):26:in `method_missing'
> from (irb):26
> from :0
>
>
> Is there a workaround to access overloaded methods in ruby?
>
>
> Cheers,
> Robert
>
>
Received on Mon Mar 08 2010 - 17:46:44 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 10 2010 - 17:50:02 CET