Class: Spikard::FieldErrorSpec
- Inherits:
-
Object
- Object
- Spikard::FieldErrorSpec
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#message ⇒ String
readonly
Returns the value of attribute message.
-
#path ⇒ String
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize ⇒ FieldErrorSpec
constructor
A new instance of FieldErrorSpec.
Constructor Details
#initialize ⇒ FieldErrorSpec
Returns a new instance of FieldErrorSpec.
29 |
# File 'sig/types.rbs', line 29
def initialize: (path: String, message: String) -> void
|
Instance Attribute Details
#message ⇒ String (readonly)
Returns the value of attribute message.
27 28 29 |
# File 'sig/types.rbs', line 27 def @message end |
#path ⇒ String (readonly)
Returns the value of attribute path.
26 27 28 |
# File 'sig/types.rbs', line 26 def path @path end |