class EC2::Platform::PartitionType
Constants
- GPT
- MBR
- NONE
Public Class Methods
list()
click to toggle source
# File lib/ec2/platform/base.rb, line 19 def self.list() [MBR, GPT, NONE] end
valid?(input)
click to toggle source
# File lib/ec2/platform/base.rb, line 23 def self.valid?(input) return false if input == NONE self.list.include?(input) end