Class: RailsProof::AiTestValidator::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_proof/ai_test_validator.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



5
6
7
# File 'lib/rails_proof/ai_test_validator.rb', line 5

def errors
  @errors
end

#validObject

Returns the value of attribute valid

Returns:

  • (Object)

    the current value of valid



5
6
7
# File 'lib/rails_proof/ai_test_validator.rb', line 5

def valid
  @valid
end

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/rails_proof/ai_test_validator.rb', line 10

def valid?
  valid
end