Shai :
and i want to rename/alias method1 to method_one, so that eventually i will be able to do
@item.method_one # returns @item.method1
...is there any kind of command to change the instance_methods' aliases? something like
alias_instance_method :method_one :method1
You can use the class singleton of @item object :
class << @item alias :method_one :method1 end
then you can do @item.method_one
-- Jean-François.