class Gemsmith::Tools::Viewer
Views a gem within default browser.
Public Instance Methods
call(specification)
click to toggle source
# File lib/gemsmith/tools/viewer.rb, line 12 def call specification executor.capture3("open", specification.homepage_url).then do |_stdout, stderr, status| status.success? ? Success(specification) : Failure(stderr) end end