Class: Mdq::Check

Inherits:
Object
  • Object
show all
Defined in:
lib/mdq/check.rb

Overview

Check

Instance Method Summary collapse

Constructor Details

#initializeCheck

Returns a new instance of Check.



9
10
11
12
13
14
15
16
17
# File 'lib/mdq/check.rb', line 9

def initialize
  ob = Mdq::OutputBuilder.new

  db = Mdq::DB.new
  ob.add(show_message('adb', db.android_discoverable?))
  ob.add(show_message('Xcode', db.apple_discoverable?))

  ob.print
end