K
Keith Chapman
Hi All,
I've pretty new to ruby and still getting to know how ruby works. I want
to associate some metadata to a function. I saw a similar post down this
line but didn't get the real answer.
In javascript I'm used to associating metadata with a function as
follows.
foo.bar = "foobar";
function foo(){
}
Whats the normal ruby practice to do this kind of a thing. Whats the
ruby way of doing this.
Your help is very much appreciated.
Thanks,
Keith.
I've pretty new to ruby and still getting to know how ruby works. I want
to associate some metadata to a function. I saw a similar post down this
line but didn't get the real answer.
In javascript I'm used to associating metadata with a function as
follows.
foo.bar = "foobar";
function foo(){
}
Whats the normal ruby practice to do this kind of a thing. Whats the
ruby way of doing this.
Your help is very much appreciated.
Thanks,
Keith.