Hi, is it not possible to create a method to use in this way?
my_object.param("tag") = "new_value"
How to define that method? I've tryed something as:
def param(name)= (value)
@params[name] = value
end
but obviously I get error:
SyntaxError: compile error
syntax error, unexpected '='
Is there some way? Thanks a lot.
--
IƱaki Baz Castillo
<ibc / aliax.net>