class Pair def initialize(value, label) @value = value @label = label end attr_accessor :value, :label end