Class: Mxrb::Integrity::Result
- Inherits:
-
Struct
- Object
- Struct
- Mxrb::Integrity::Result
- Defined in:
- lib/mxrb/integrity/validator.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors
7 8 9 |
# File 'lib/mxrb/integrity/validator.rb', line 7 def errors @errors end |
#warnings ⇒ Object
Returns the value of attribute warnings
7 8 9 |
# File 'lib/mxrb/integrity/validator.rb', line 7 def warnings @warnings end |
Instance Method Details
#valid? ⇒ Boolean
8 |
# File 'lib/mxrb/integrity/validator.rb', line 8 def valid? = errors.empty? |