Module: PryGithub
- Defined in:
- lib/pry-github.rb,
lib/pry-github/version.rb
Defined Under Namespace
Modules: GithubHelpers
Constant Summary collapse
- Commands =
Pry::CommandSet.new do create_command "gh show", "Show GitHub page for a method" do include GithubHelpers def (opt) (opt) end def process meth = method_object url = get_github_url(meth) Launchy.open(url) end end create_command "gh blame", "Show GitHub blame page for a method" do include GithubHelpers def (opt) (opt) end def process meth = method_object url = get_github_url(meth, "blame") Launchy.open(url) end end end
- VERSION =
"0.0.2"