------art_46701_22762929.1173321415586
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

>
>
> Well I tried hard with Binding.of_caller from facet but maybe I miss
> something.
> As I mentioned before I am not a metaprogramming guru :(


:)

> Also, can I pass a "reference"/"pointer" into function?
> Well all parameters are passed as references - even if there is a
> studied discussion if this terminology is 100% correct.
>
> try e.g.
> ai there"
> def change s
>   s << "!!!"
> end
> change a
> puts a
> >
>
Probably it works with strings but try following code:

def test_change(var, val)
    var  al
end

myvar  
test_change(myvar, 10)
puts myvar.to_s

------art_46701_22762929.1173321415586--