{"action":"opened","issue":{"url":"https://api.github.com/repos/Oimah/Advance_Ruby/issues/2","labels_url":"https://api.github.com/repos/Oimah/Advance_Ruby/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Oimah/Advance_Ruby/issues/2/comments","events_url":"https://api.github.com/repos/Oimah/Advance_Ruby/issues/2/events","html_url":"https://github.com/Oimah/Advance_Ruby/issues/2","id":124587057,"number":2,"title":"singleton","user":{"login":"Oimah","id":16101293,"avatar_url":"https://avatars.githubusercontent.com/u/16101293?v=3","gravatar_id":"","url":"https://api.github.com/users/Oimah","html_url":"https://github.com/Oimah","followers_url":"https://api.github.com/users/Oimah/followers","following_url":"https://api.github.com/users/Oimah/following{/other_user}","gists_url":"https://api.github.com/users/Oimah/gists{/gist_id}","starred_url":"https://api.github.com/users/Oimah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Oimah/subscriptions","organizations_url":"https://api.github.com/users/Oimah/orgs","repos_url":"https://api.github.com/users/Oimah/repos","events_url":"https://api.github.com/users/Oimah/events{/privacy}","received_events_url":"https://api.github.com/users/Oimah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-02T11:52:48Z","updated_at":"2016-01-02T11:52:48Z","closed_at":null,"body":"Create an instance of a class string.Define a method on this instance in a way that it is available only on this instance. If you create another instance of the class and try to call this method, it should give a method not defined error.Create this method usingdef something.method_name and also class << self\r\n\r\nhttps://github.com/Oimah/Advance_Ruby/tree/develop/Singleton"}}