Class: Spikard::FieldErrorSpec

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFieldErrorSpec

Returns a new instance of FieldErrorSpec.

Parameters:

  • path: (String)
  • message: (String)


29
# File 'sig/types.rbs', line 29

def initialize: (path: String, message: String) -> void

Instance Attribute Details

#messageString (readonly)

Returns the value of attribute message.

Returns:

  • (String)


27
28
29
# File 'sig/types.rbs', line 27

def message
  @message
end

#pathString (readonly)

Returns the value of attribute path.

Returns:

  • (String)


26
27
28
# File 'sig/types.rbs', line 26

def path
  @path
end