{"action":"created","issue":{"url":"https://api.github.com/repos/minad/iruby/issues/52","labels_url":"https://api.github.com/repos/minad/iruby/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/minad/iruby/issues/52/comments","events_url":"https://api.github.com/repos/minad/iruby/issues/52/events","html_url":"https://github.com/minad/iruby/issues/52","id":55133675,"number":52,"title":"Cannot write multi-line methods","user":{"login":"v0dro","id":2629909,"avatar_url":"https://avatars.githubusercontent.com/u/2629909?v=3","gravatar_id":"","url":"https://api.github.com/users/v0dro","html_url":"https://github.com/v0dro","followers_url":"https://api.github.com/users/v0dro/followers","following_url":"https://api.github.com/users/v0dro/following{/other_user}","gists_url":"https://api.github.com/users/v0dro/gists{/gist_id}","starred_url":"https://api.github.com/users/v0dro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v0dro/subscriptions","organizations_url":"https://api.github.com/users/v0dro/orgs","repos_url":"https://api.github.com/users/v0dro/repos","events_url":"https://api.github.com/users/v0dro/events{/privacy}","received_events_url":"https://api.github.com/users/v0dro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T09:53:07Z","updated_at":"2015-01-27T11:23:52Z","closed_at":"2015-01-27T11:23:52Z","body":"I tried to write multi-line methods in iruby similar to `irb` or `pry`, but this was the result:\r\n\r\n```\r\n\r\nIn [42]: def hello a\r\n\r\nIn [43]: def hello a\r\n\r\nIn [44]: def hello a\r\n\r\n```\r\n\r\nit would be great to be able to do that!"},"comment":{"url":"https://api.github.com/repos/minad/iruby/issues/comments/71631540","html_url":"https://github.com/minad/iruby/issues/52#issuecomment-71631540","issue_url":"https://api.github.com/repos/minad/iruby/issues/52","id":71631540,"user":{"login":"minad","id":50754,"avatar_url":"https://avatars.githubusercontent.com/u/50754?v=3","gravatar_id":"","url":"https://api.github.com/users/minad","html_url":"https://github.com/minad","followers_url":"https://api.github.com/users/minad/followers","following_url":"https://api.github.com/users/minad/following{/other_user}","gists_url":"https://api.github.com/users/minad/gists{/gist_id}","starred_url":"https://api.github.com/users/minad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minad/subscriptions","organizations_url":"https://api.github.com/users/minad/orgs","repos_url":"https://api.github.com/users/minad/repos","events_url":"https://api.github.com/users/minad/events{/privacy}","received_events_url":"https://api.github.com/users/minad/received_events","type":"User","site_admin":false},"created_at":"2015-01-27T11:23:52Z","updated_at":"2015-01-27T11:23:52Z","body":"You mean in the iruby console? Do you know how irb/pry handles these incomplete expressions?"}}