# File lib/method_analyzer.rb, line 20 def attr(name, writer=false) attr_reader name attr_writer name if writer end