Simplify room1.rb

Using attr_writer