new 'mbr'
new 'gpt'
new 'none'
19 20 21
# File 'lib/ec2/platform/base.rb', line 19 def self.list() [MBR, GPT, NONE] end
Returns:
23 24 25 26
# File 'lib/ec2/platform/base.rb', line 23 def self.valid?(input) return false if input == NONE self.list.include?(input) end