remove unnecessary attr_writer

because we already have attr_accessor
Merge pull request #869 from yesmeck/patch-0

remove unnecessary attr_writer