{"action":"created","issue":{"url":"https://api.github.com/repos/vim-jp/vital.vim/issues/266","labels_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/266/comments","events_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/266/events","html_url":"https://github.com/vim-jp/vital.vim/pull/266","id":63434663,"number":266,"title":"OptionParser: Add two extra options","user":{"login":"deris","id":303372,"avatar_url":"https://avatars.githubusercontent.com/u/303372?v=3","gravatar_id":"","url":"https://api.github.com/users/deris","html_url":"https://github.com/deris","followers_url":"https://api.github.com/users/deris/followers","following_url":"https://api.github.com/users/deris/following{/other_user}","gists_url":"https://api.github.com/users/deris/gists{/gist_id}","starred_url":"https://api.github.com/users/deris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deris/subscriptions","organizations_url":"https://api.github.com/users/deris/orgs","repos_url":"https://api.github.com/users/deris/repos","events_url":"https://api.github.com/users/deris/events{/privacy}","received_events_url":"https://api.github.com/users/deris/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-21T17:45:50Z","updated_at":"2015-03-22T15:28:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vim-jp/vital.vim/pulls/266","html_url":"https://github.com/vim-jp/vital.vim/pull/266","diff_url":"https://github.com/vim-jp/vital.vim/pull/266.diff","patch_url":"https://github.com/vim-jp/vital.vim/pull/266.patch"},"body":"OptionParserに以下の2つのextra optionを追加しました。\r\n\r\n- 'required': オプションの指定を必須にします。指定されていなければ例外を投げます。\r\n- 'pattern': 'pattern'で指定したパターンにマッチするかどうかチェックします。マッチしなければ例外を投げます。\r\n\r\ndocとかちょっとアレですがご査収ください。"},"comment":{"url":"https://api.github.com/repos/vim-jp/vital.vim/issues/comments/84631616","html_url":"https://github.com/vim-jp/vital.vim/pull/266#issuecomment-84631616","issue_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/266","id":84631616,"user":{"login":"rhysd","id":823277,"avatar_url":"https://avatars.githubusercontent.com/u/823277?v=3","gravatar_id":"","url":"https://api.github.com/users/rhysd","html_url":"https://github.com/rhysd","followers_url":"https://api.github.com/users/rhysd/followers","following_url":"https://api.github.com/users/rhysd/following{/other_user}","gists_url":"https://api.github.com/users/rhysd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhysd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhysd/subscriptions","organizations_url":"https://api.github.com/users/rhysd/orgs","repos_url":"https://api.github.com/users/rhysd/repos","events_url":"https://api.github.com/users/rhysd/events{/privacy}","received_events_url":"https://api.github.com/users/rhysd/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T15:28:35Z","updated_at":"2015-03-22T15:28:35Z","body":"エル・ジー・ティー・エム"}}