We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad9a92 commit cf8d017Copy full SHA for cf8d017
lib/arduino_ci/arduino_cmd.rb
@@ -9,10 +9,12 @@ class ArduinoCmd
9
class << self
10
protected :new
11
12
+ # @return [ArduinoCmd] A command object with a best guess (or nil) for the installation
13
def autolocate
14
new(ArduinoInstallation.autolocate)
15
end
16
17
+ # @return [ArduinoCmd] A command object, installing Arduino if necessary
18
def autolocate!
19
new(ArduinoInstallation.autolocate!)
20
@@ -21,6 +23,7 @@ def autolocate!
21
23
22
24
attr_accessor :installation
25
26
+ # @param installation [ArduinoInstallation] the location of the Arduino program installation
27
def initialize(installation)
28
@display_mgr = DisplayManager::instance
29
@installation = installation
0 commit comments