Revision 9a9ec5b1
Added by Daniel Lobato Garcia over 8 years ago
app/models/operatingsystems/windows.rb | ||
---|---|---|
class Windows < Operatingsystem
|
||
PXEFILES = {:kernel => "wimboot", :initrd => "bootmgr", :bcd => "bcd", :bootsdi => "boot.sdi", :bootwim => "boot.wim"}
|
||
|
||
class << self
|
||
delegate :model_name, :to => :superclass
|
||
end
|
||
|
||
def pxe_type
|
||
"waik"
|
||
end
|
||
... | ... | |
end
|
||
end
|
||
|
||
def self.model_name
|
||
superclass.model_name
|
||
end
|
||
|
||
def display_family
|
||
"Windows"
|
||
end
|
Also available in: Unified diff
Refs #3809 - Enable Rails delegate cop