Method: AptSpy2#check
- Defined in:
- lib/apt/spy2.rb
#check ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/apt/spy2.rb', line 41 def check @writer = Apt::Spy2::Writer.new([:format]) mirrors = retrieve([:country], use_launchpad?()) filter(mirrors, [:strict], [:output]) puts @writer.to_json if @writer.json? end |