Module: LinuxAdmin::Distros
- Defined in:
- lib/linux_admin/distro.rb
Defined Under Namespace
Classes: Generic, RedHat, Ubuntu
Class Method Summary
collapse
Class Method Details
.all ⇒ Object
48
49
50
|
# File 'lib/linux_admin/distro.rb', line 48
def self.all
@distros ||= [generic, redhat, ubuntu]
end
|
.generic ⇒ Object
36
37
38
|
# File 'lib/linux_admin/distro.rb', line 36
def self.generic
@generic ||= Generic.new
end
|
.redhat ⇒ Object
40
41
42
|
# File 'lib/linux_admin/distro.rb', line 40
def self.redhat
@redhat ||= RedHat.new
end
|
.ubuntu ⇒ Object
44
45
46
|
# File 'lib/linux_admin/distro.rb', line 44
def self.ubuntu
@ubuntu ||= Ubuntu.new
end
|