class Drive attr_reader :type, :size, :writable def initialize(type, size, writable) @type = type @size = size @writable = writable end end