Class: Rgltf::Validator::Result
- Inherits:
-
Struct
- Object
- Struct
- Rgltf::Validator::Result
- Defined in:
- lib/rgltf/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
17 18 19 |
# File 'lib/rgltf/validator.rb', line 17 def errors @errors end |
#warnings ⇒ Object
Returns the value of attribute warnings
17 18 19 |
# File 'lib/rgltf/validator.rb', line 17 def warnings @warnings end |
Instance Method Details
#valid? ⇒ Boolean
18 19 20 |
# File 'lib/rgltf/validator.rb', line 18 def valid? errors.empty? end |