{"comment":{"url":"https://api.github.com/repos/deazeredo/library/comments/10134840","html_url":"https://github.com/deazeredo/library/commit/ae570780e42c504f61dbefe5c193f0905e7d7d09#commitcomment-10134840","id":10134840,"user":{"login":"alexdunae","id":15727,"avatar_url":"https://avatars.githubusercontent.com/u/15727?v=3","gravatar_id":"","url":"https://api.github.com/users/alexdunae","html_url":"https://github.com/alexdunae","followers_url":"https://api.github.com/users/alexdunae/followers","following_url":"https://api.github.com/users/alexdunae/following{/other_user}","gists_url":"https://api.github.com/users/alexdunae/gists{/gist_id}","starred_url":"https://api.github.com/users/alexdunae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexdunae/subscriptions","organizations_url":"https://api.github.com/users/alexdunae/orgs","repos_url":"https://api.github.com/users/alexdunae/repos","events_url":"https://api.github.com/users/alexdunae/events{/privacy}","received_events_url":"https://api.github.com/users/alexdunae/received_events","type":"User","site_admin":false},"position":10,"line":10,"path":"app/models/item.rb","commit_id":"ae570780e42c504f61dbefe5c193f0905e7d7d09","created_at":"2015-03-11T03:59:36Z","updated_at":"2015-03-11T03:59:36Z","body":"Good stuff.  Since `completed_on == nil` is giving you a true/false back you could rewrite this into a single line method...\r\n\r\n```ruby\r\ndef completed?\r\n  !completed_on == nil\r\nend\r\n```\r\n\r\nOr, even better:\r\n\r\n```ruby\r\ndef completed?\r\n  !completed_on.nil?\r\nend\r\n```"}}