{"action":"opened","issue":{"url":"https://api.github.com/repos/symengine/symengine.rb/issues/40","repository_url":"https://api.github.com/repos/symengine/symengine.rb","labels_url":"https://api.github.com/repos/symengine/symengine.rb/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/symengine/symengine.rb/issues/40/comments","events_url":"https://api.github.com/repos/symengine/symengine.rb/issues/40/events","html_url":"https://github.com/symengine/symengine.rb/issues/40","id":156517917,"number":40,"title":"Add meaningful #inspect to classes","user":{"login":"zverok","id":129656,"avatar_url":"https://avatars.githubusercontent.com/u/129656?v=3","gravatar_id":"","url":"https://api.github.com/users/zverok","html_url":"https://github.com/zverok","followers_url":"https://api.github.com/users/zverok/followers","following_url":"https://api.github.com/users/zverok/following{/other_user}","gists_url":"https://api.github.com/users/zverok/gists{/gist_id}","starred_url":"https://api.github.com/users/zverok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zverok/subscriptions","organizations_url":"https://api.github.com/users/zverok/orgs","repos_url":"https://api.github.com/users/zverok/repos","events_url":"https://api.github.com/users/zverok/events{/privacy}","received_events_url":"https://api.github.com/users/zverok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-24T14:10:13Z","updated_at":"2016-05-24T14:10:13Z","closed_at":null,"body":"Imagine irb session:\r\n```ruby\r\nSymEngine::Symbol.new('x')\r\n# currently:\r\n# => #<SymEngine::Symbol:0x8571680>\r\n# should be:\r\n# => #<SymEngine::Symbol(x)>\r\nSymEngine::Symbol.new('x') + SymEngine::Symbol.new('y')\r\n# currently:\r\n# => #<SymEngine::Add:0x842e0d4>\r\n# should be:\r\n# => #<SymEngine::Add(x+y)>\r\n```\r\n...and so on.\r\n\r\nI assume, pretty simple code, wrapping `#to_s` into common for Ruby `#<#{self.class}(#{to_s})>` will play, at least for the start."}}
{"actor":{"display_login":"zverok"}}