Class: RubyLLM::Contract::SchemaValidator::FieldCheck

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby_llm/contract/contract/schema_validator.rb

Overview

Bundles field path, value, and constraints to reduce parameter passing

Instance Attribute Summary collapse

Instance Attribute Details

#constraintsObject

Returns the value of attribute constraints

Returns:

  • (Object)

    the current value of constraints



13
14
15
# File 'lib/ruby_llm/contract/contract/schema_validator.rb', line 13

def constraints
  @constraints
end

#qualifiedObject

Returns the value of attribute qualified

Returns:

  • (Object)

    the current value of qualified



13
14
15
# File 'lib/ruby_llm/contract/contract/schema_validator.rb', line 13

def qualified
  @qualified
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



13
14
15
# File 'lib/ruby_llm/contract/contract/schema_validator.rb', line 13

def value
  @value
end