{"action":"created","comment":{"url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/comments/35559216","id":35559216,"diff_hunk":"@@ -0,0 +1,25 @@\n+require_relative \"dotr\"\n+\n+module CraftOutput\n+  def menu_info\n+    \"#{self.class::NAME}  -Class: #{class_type} -Description: #{self.class::DESCRIPTION}\"\n+  end\n+\n+  def output_health\n+    HealthOutPut.new(hitpoints, initial_hp).output\n+  end\n+\n+  def stats\n+    puts \"HP left:#{hitpoints} Health %#{output_health}\".green\n+    puts \"Craft CLass: #{class_type}\".green\n+    puts \"Armor: #{armor}\".green\n+    puts \"Turn Radius: #{turn_radius}\".green\n+    puts \"Max Speed: #{max_movement}\".green\n+    puts \"Current Speed: #{movement}\".green","path":"lib/craft_output.rb","position":18,"original_position":18,"commit_id":"f1cd14c1b7e7c06088485c8c52afb1ffcb8c6a00","original_commit_id":"f1cd14c1b7e7c06088485c8c52afb1ffcb8c6a00","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Do not write to stdout. Use Rails' logger if you want to log.","created_at":"2015-07-27T16:59:27Z","updated_at":"2015-07-27T16:59:27Z","html_url":"https://github.com/ChrisCPO/DOTR/pull/18#discussion_r35559216","pull_request_url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/comments/35559216"},"html":{"href":"https://github.com/ChrisCPO/DOTR/pull/18#discussion_r35559216"},"pull_request":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18","id":40925384,"html_url":"https://github.com/ChrisCPO/DOTR/pull/18","diff_url":"https://github.com/ChrisCPO/DOTR/pull/18.diff","patch_url":"https://github.com/ChrisCPO/DOTR/pull/18.patch","issue_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues/18","number":18,"state":"open","locked":false,"title":"Adding menu","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-27T16:59:19Z","updated_at":"2015-07-27T16:59:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8998e84d164b9b5177e96739975aba1688193cfe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18/commits","review_comments_url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18/comments","review_comment_url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues/18/comments","statuses_url":"https://api.github.com/repos/ChrisCPO/DOTR/statuses/f1cd14c1b7e7c06088485c8c52afb1ffcb8c6a00","head":{"label":"ChrisCPO:adding_menu","ref":"adding_menu","sha":"f1cd14c1b7e7c06088485c8c52afb1ffcb8c6a00","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"repo":{"id":29023521,"name":"DOTR","full_name":"ChrisCPO/DOTR","owner":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisCPO/DOTR","description":"fun ruby only project I am using to improve my rubyist skills and learn TTD","fork":false,"url":"https://api.github.com/repos/ChrisCPO/DOTR","forks_url":"https://api.github.com/repos/ChrisCPO/DOTR/forks","keys_url":"https://api.github.com/repos/ChrisCPO/DOTR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisCPO/DOTR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisCPO/DOTR/teams","hooks_url":"https://api.github.com/repos/ChrisCPO/DOTR/hooks","issue_events_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisCPO/DOTR/events","assignees_url":"https://api.github.com/repos/ChrisCPO/DOTR/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisCPO/DOTR/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisCPO/DOTR/tags","blobs_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisCPO/DOTR/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisCPO/DOTR/languages","stargazers_url":"https://api.github.com/repos/ChrisCPO/DOTR/stargazers","contributors_url":"https://api.github.com/repos/ChrisCPO/DOTR/contributors","subscribers_url":"https://api.github.com/repos/ChrisCPO/DOTR/subscribers","subscription_url":"https://api.github.com/repos/ChrisCPO/DOTR/subscription","commits_url":"https://api.github.com/repos/ChrisCPO/DOTR/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisCPO/DOTR/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChrisCPO/DOTR/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisCPO/DOTR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisCPO/DOTR/merges","archive_url":"https://api.github.com/repos/ChrisCPO/DOTR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisCPO/DOTR/downloads","issues_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisCPO/DOTR/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisCPO/DOTR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisCPO/DOTR/labels{/name}","releases_url":"https://api.github.com/repos/ChrisCPO/DOTR/releases{/id}","created_at":"2015-01-09T16:04:24Z","updated_at":"2015-03-09T23:02:18Z","pushed_at":"2015-07-27T16:59:20Z","git_url":"git://github.com/ChrisCPO/DOTR.git","ssh_url":"git@github.com:ChrisCPO/DOTR.git","clone_url":"https://github.com/ChrisCPO/DOTR.git","svn_url":"https://github.com/ChrisCPO/DOTR","homepage":null,"size":464,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ChrisCPO:master","ref":"master","sha":"55cef1c1885a6da0f2f8bd77e0d415f6c6426e02","user":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"repo":{"id":29023521,"name":"DOTR","full_name":"ChrisCPO/DOTR","owner":{"login":"ChrisCPO","id":7773951,"avatar_url":"https://avatars.githubusercontent.com/u/7773951?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisCPO","html_url":"https://github.com/ChrisCPO","followers_url":"https://api.github.com/users/ChrisCPO/followers","following_url":"https://api.github.com/users/ChrisCPO/following{/other_user}","gists_url":"https://api.github.com/users/ChrisCPO/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisCPO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisCPO/subscriptions","organizations_url":"https://api.github.com/users/ChrisCPO/orgs","repos_url":"https://api.github.com/users/ChrisCPO/repos","events_url":"https://api.github.com/users/ChrisCPO/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisCPO/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChrisCPO/DOTR","description":"fun ruby only project I am using to improve my rubyist skills and learn TTD","fork":false,"url":"https://api.github.com/repos/ChrisCPO/DOTR","forks_url":"https://api.github.com/repos/ChrisCPO/DOTR/forks","keys_url":"https://api.github.com/repos/ChrisCPO/DOTR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChrisCPO/DOTR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChrisCPO/DOTR/teams","hooks_url":"https://api.github.com/repos/ChrisCPO/DOTR/hooks","issue_events_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues/events{/number}","events_url":"https://api.github.com/repos/ChrisCPO/DOTR/events","assignees_url":"https://api.github.com/repos/ChrisCPO/DOTR/assignees{/user}","branches_url":"https://api.github.com/repos/ChrisCPO/DOTR/branches{/branch}","tags_url":"https://api.github.com/repos/ChrisCPO/DOTR/tags","blobs_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChrisCPO/DOTR/statuses/{sha}","languages_url":"https://api.github.com/repos/ChrisCPO/DOTR/languages","stargazers_url":"https://api.github.com/repos/ChrisCPO/DOTR/stargazers","contributors_url":"https://api.github.com/repos/ChrisCPO/DOTR/contributors","subscribers_url":"https://api.github.com/repos/ChrisCPO/DOTR/subscribers","subscription_url":"https://api.github.com/repos/ChrisCPO/DOTR/subscription","commits_url":"https://api.github.com/repos/ChrisCPO/DOTR/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChrisCPO/DOTR/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChrisCPO/DOTR/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChrisCPO/DOTR/contents/{+path}","compare_url":"https://api.github.com/repos/ChrisCPO/DOTR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChrisCPO/DOTR/merges","archive_url":"https://api.github.com/repos/ChrisCPO/DOTR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChrisCPO/DOTR/downloads","issues_url":"https://api.github.com/repos/ChrisCPO/DOTR/issues{/number}","pulls_url":"https://api.github.com/repos/ChrisCPO/DOTR/pulls{/number}","milestones_url":"https://api.github.com/repos/ChrisCPO/DOTR/milestones{/number}","notifications_url":"https://api.github.com/repos/ChrisCPO/DOTR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChrisCPO/DOTR/labels{/name}","releases_url":"https://api.github.com/repos/ChrisCPO/DOTR/releases{/id}","created_at":"2015-01-09T16:04:24Z","updated_at":"2015-03-09T23:02:18Z","pushed_at":"2015-07-27T16:59:20Z","git_url":"git://github.com/ChrisCPO/DOTR.git","ssh_url":"git@github.com:ChrisCPO/DOTR.git","clone_url":"https://github.com/ChrisCPO/DOTR.git","svn_url":"https://github.com/ChrisCPO/DOTR","homepage":null,"size":464,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18"},"html":{"href":"https://github.com/ChrisCPO/DOTR/pull/18"},"issue":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/issues/18"},"comments":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/ChrisCPO/DOTR/statuses/f1cd14c1b7e7c06088485c8c52afb1ffcb8c6a00"}}}}