Sha256: be58c321464392e27fb5496043d9bd5d413445a1eee121d0516400626409c0af

Contents?: true

Size: 423 Bytes

Versions: 2

Compression:

Stored size: 423 Bytes

Contents

module Rgversion
  class Application
    def initialize(gems, selector)
      @gems = gems
      @selector = selector
    end

    def run
      terminal = Terminal.new(results)
      terminal.report
      terminal.copy_to_clipboard if OS.mac?
    rescue StandardError => ex
      $stderr.puts ex.message
    end

    private

    def results
      spider = Spider.new(@gems, @selector)
      spider.walk
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rgversion-1.1.3 lib/rgversion/application.rb
rgversion-1.1.2 lib/rgversion/application.rb