Revision 9a9ec5b1
Added by Daniel Lobato Garcia over 8 years ago
app/models/operatingsystems/archlinux.rb | ||
---|---|---|
class Archlinux < Operatingsystem
|
||
PXEFILES = {:kernel => "linux", :initrd => "initrd"}
|
||
|
||
class << self
|
||
delegate :model_name, :to => :superclass
|
||
end
|
||
|
||
# Simple output of the media url
|
||
def mediumpath(host)
|
||
medium_uri(host).to_s
|
||
... | ... | |
def display_family
|
||
"Arch Linux"
|
||
end
|
||
|
||
def self.model_name
|
||
superclass.model_name
|
||
end
|
||
end
|
Also available in: Unified diff
Refs #3809 - Enable Rails delegate cop