added list_attr.rb ruby