Sha256: fd5d64e29ecbdefbf25e25cb587eb00719b7c59606426d49d6e286fee0f14777
Contents?: true
Size: 521 Bytes
Versions: 10
Compression:
Stored size: 521 Bytes
Contents
module Rgversion class Application def initialize(gems, selector) @gems = gems @selector = selector end def run terminal = Terminal.new(command, results) terminal.report terminal.copy_to_clipboard rescue StandardError => ex $stderr.puts ex.message end private def results spider = Spider.new(@gems, @selector) spider.walk end def command return :pbcopy if OS.mac? return :xclip if OS.linux? nil end end end
Version data entries
10 entries across 10 versions & 1 rubygems