From: "Iñaki Baz Castillo" Date: 2008-04-30T21:22:30+09:00 Subject: How to create "def method(item)= (value)" ? 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