{"comment":{"url":"https://api.github.com/repos/dwhite96/data-structures/comments/9754807","html_url":"https://github.com/dwhite96/data-structures/commit/9211f3cabfad973f5fc23888588910ebebe9067b#commitcomment-9754807","id":9754807,"user":{"login":"jfarmer","id":37304,"avatar_url":"https://avatars.githubusercontent.com/u/37304?v=3","gravatar_id":"","url":"https://api.github.com/users/jfarmer","html_url":"https://github.com/jfarmer","followers_url":"https://api.github.com/users/jfarmer/followers","following_url":"https://api.github.com/users/jfarmer/following{/other_user}","gists_url":"https://api.github.com/users/jfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfarmer/subscriptions","organizations_url":"https://api.github.com/users/jfarmer/orgs","repos_url":"https://api.github.com/users/jfarmer/repos","events_url":"https://api.github.com/users/jfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/jfarmer/received_events","type":"User","site_admin":false},"position":23,"line":32,"path":"stack.rb","commit_id":"9211f3cabfad973f5fc23888588910ebebe9067b","created_at":"2015-02-16T00:24:59Z","updated_at":"2015-02-16T00:24:59Z","body":"Be careful here.  I'm pretty sure `LinkedList#head` returns a `LinkedListNode`.  The `Stack` would work thus:\r\n\r\n```ruby\r\nstack = Stack.new\r\n\r\nstack.push(5).pop == 5 # => true\r\n```"}}