Class: PEBuild::Cap::DetectInstaller::Base
- Inherits:
-
Object
- Object
- PEBuild::Cap::DetectInstaller::Base
- Defined in:
- lib/pe_build/cap/detect_installer/base.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(machine, version) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(machine, version) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/pe_build/cap/detect_installer/base.rb', line 7 def initialize(machine, version) @machine, @version = machine, version end |
Class Method Details
.detect_installer(machine, version) ⇒ Object
3 4 5 |
# File 'lib/pe_build/cap/detect_installer/base.rb', line 3 def self.detect_installer(machine, version) new(machine, version).detect end |