From: "Iñaki Baz Castillo" Date: 2008-04-30T23:56:04+09:00 Subject: Re: How to create "def method(item)= (value)" ? 2008/4/30, Ken Bloom : > def initialize > @params={} > end > > def param > @params > end But I don't want that since it allows any self modification way (.strip! .chomp! ...) and I just want to allow []= Thanks. -- Iñaki Baz Castillo