class Lutaml::Model::Choice
def initialize(model, min, max)
def initialize(model, min, max) @attributes = [] @model = model @min = min @max = max raise Lutaml::Model::InvalidChoiceRangeError.new(@min, @max) if @min.negative? || @max.negative? end
def initialize(model, min, max) @attributes = [] @model = model @min = min @max = max raise Lutaml::Model::InvalidChoiceRangeError.new(@min, @max) if @min.negative? || @max.negative? end