Class: GemSearch::Commands::Browse
- Defined in:
- lib/gem_search/commands/browse.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from GemSearch::Commands::Base
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/gem_search/commands/browse.rb', line 4 def call executor = Executor.new executor.browse([:browse]) rescue OpenURI::HTTPError puts 'No such gem.' abort rescue => e puts e. puts e.stacktrace if ENV['DEBUG'] abort end |