{"action":"created","issue":{"url":"https://api.github.com/repos/opal/opal/issues/816","labels_url":"https://api.github.com/repos/opal/opal/issues/816/labels{/name}","comments_url":"https://api.github.com/repos/opal/opal/issues/816/comments","events_url":"https://api.github.com/repos/opal/opal/issues/816/events","html_url":"https://github.com/opal/opal/issues/816","id":71468649,"number":816,"title":"Issue defining class method with the name 'name'","user":{"login":"robfors","id":5009573,"avatar_url":"https://avatars.githubusercontent.com/u/5009573?v=3","gravatar_id":"","url":"https://api.github.com/users/robfors","html_url":"https://github.com/robfors","followers_url":"https://api.github.com/users/robfors/followers","following_url":"https://api.github.com/users/robfors/following{/other_user}","gists_url":"https://api.github.com/users/robfors/gists{/gist_id}","starred_url":"https://api.github.com/users/robfors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robfors/subscriptions","organizations_url":"https://api.github.com/users/robfors/orgs","repos_url":"https://api.github.com/users/robfors/repos","events_url":"https://api.github.com/users/robfors/events{/privacy}","received_events_url":"https://api.github.com/users/robfors/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-28T03:38:00Z","updated_at":"2015-04-30T04:26:39Z","closed_at":null,"body":"The following code was run at opalrb.org/try  \r\n```ruby\r\nclass User\r\n  @name = 'rob'\r\n  \r\n  def self.name\r\n    @name\r\n  end\r\n\r\nend\r\n\r\nuser = User.new\r\nputs user.class #prints 'rob' but I was expecting 'User'\r\n```\r\nUsing Opal: 0.7.0\r\nIt appears to be an issue with defining a class method with the name 'name'."},"comment":{"url":"https://api.github.com/repos/opal/opal/issues/comments/97659585","html_url":"https://github.com/opal/opal/issues/816#issuecomment-97659585","issue_url":"https://api.github.com/repos/opal/opal/issues/816","id":97659585,"user":{"login":"vais","id":77592,"avatar_url":"https://avatars.githubusercontent.com/u/77592?v=3","gravatar_id":"","url":"https://api.github.com/users/vais","html_url":"https://github.com/vais","followers_url":"https://api.github.com/users/vais/followers","following_url":"https://api.github.com/users/vais/following{/other_user}","gists_url":"https://api.github.com/users/vais/gists{/gist_id}","starred_url":"https://api.github.com/users/vais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vais/subscriptions","organizations_url":"https://api.github.com/users/vais/orgs","repos_url":"https://api.github.com/users/vais/repos","events_url":"https://api.github.com/users/vais/events{/privacy}","received_events_url":"https://api.github.com/users/vais/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T04:26:39Z","updated_at":"2015-04-30T04:26:39Z","body":"@Ajedi32 every journey starts with a single step :wink: If you have questions about getting started, take a look at https://github.com/opal/opal/blob/master/CONTRIBUTING.md and/or feel free to ask me any questions here or on https://gitter.im/opal/opal"}}