method assignment.rb; overriding method assignment