Class: U3d::Installation
- Inherits:
-
Object
- Object
- U3d::Installation
- Defined in:
- lib/u3d/installer.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.create(path: nil) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/u3d/installer.rb', line 36 def self.create(path: nil) if Helper.mac? MacInstallation.new path elsif Helper.linux? LinuxInstallation.new path else WindowsInstallation.new path end end |