Class: Docscribe::Validator::TypeMismatchValidator::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/docscribe/validator/type_mismatch_validator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#expected_typeString?

Parameters:

  • value (String?)

Returns:

  • (String?)


38
# File 'lib/docscribe/validator/type_mismatch_validator.rb', line 38

Result = Struct.new(:type, :yard_type, :expected_type, :message, :source, keyword_init: true)

#messageString

Parameters:

  • value (String)

Returns:

  • (String)


38
# File 'lib/docscribe/validator/type_mismatch_validator.rb', line 38

Result = Struct.new(:type, :yard_type, :expected_type, :message, :source, keyword_init: true)

#sourceString?

Parameters:

  • value (String?)

Returns:

  • (String?)


38
# File 'lib/docscribe/validator/type_mismatch_validator.rb', line 38

Result = Struct.new(:type, :yard_type, :expected_type, :message, :source, keyword_init: true)

#typeSymbol

Parameters:

  • value (Symbol)

Returns:

  • (Symbol)


38
# File 'lib/docscribe/validator/type_mismatch_validator.rb', line 38

Result = Struct.new(:type, :yard_type, :expected_type, :message, :source, keyword_init: true)

#yard_typeString?

Parameters:

  • value (String?)

Returns:

  • (String?)


38
# File 'lib/docscribe/validator/type_mismatch_validator.rb', line 38

Result = Struct.new(:type, :yard_type, :expected_type, :message, :source, keyword_init: true)