Replaced obsolete call to attr with boolean with attr_accessor
Merge pull request #1 from swisener/master

Fixed warning issues by attr method