Class: Lutaml::Model::Type::MaxExclusiveError
- Defined in:
- lib/lutaml/model/error/type/max_exclusive_error.rb
Instance Method Summary collapse
-
#initialize(value, max_bound) ⇒ MaxExclusiveError
constructor
A new instance of MaxExclusiveError.
- #to_s ⇒ Object
Constructor Details
#initialize(value, max_bound) ⇒ MaxExclusiveError
Returns a new instance of MaxExclusiveError.
7 8 9 10 11 12 |
# File 'lib/lutaml/model/error/type/max_exclusive_error.rb', line 7 def initialize(value, max_bound) @value = value @max_bound = max_bound super() end |
Instance Method Details
#to_s ⇒ Object
14 15 16 |
# File 'lib/lutaml/model/error/type/max_exclusive_error.rb', line 14 def to_s "Value #{@value} is not less than the exclusive maximum #{@max_bound}" end |