Class: Lutaml::Model::Validation::LayerResult
- Inherits:
-
Serializable
- Object
- Serializable
- Lutaml::Model::Validation::LayerResult
- Includes:
- HasIssues
- Defined in:
- lib/lutaml/model/validation/layer_result.rb
Constant Summary
Constants included from Serialize
Serialize::DEFAULT_VALUE_MAP, Serialize::INTERNAL_ATTRIBUTES, Serialize::LAZY_EMPTY_COLLECTION
Instance Attribute Summary
Attributes included from Serialize
#lutaml_parent, #lutaml_register, #lutaml_root
Instance Method Summary collapse
Methods included from HasIssues
#errors, #infos, #notices, #warnings
Methods included from Serialize
#attr_value, #attribute_exist?, #extract_register_id, included, #init_deserialization_state, #initialize, #key_exist?, #key_value, #method_missing, #prepare_instance_format_options, #pretty_print_instance_variables, register_format_mapping_method, register_from_format_method, register_to_format_method, #respond_to_missing?, #to_format, #to_yaml_hash, #using_default?, #using_default_for, #validate_attribute!, #validate_root_mapping!, #value_map, #value_set_for
Methods included from Liquefiable
Methods included from Lutaml::Model::Validation
#format_element_sequences, new_registry, #order_names, #validate, validate, #validate!, validate!, #validate_helper, #validate_sequence!
Methods included from ComparableModel
#already_compared?, #attributes_hash, #calculate_hash, #comparison_key, #eql?, #hash, included, #same_class?
Methods included from Serialize::Builder
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Lutaml::Model::Serialize
Instance Method Details
#fail? ⇒ Boolean
28 29 30 |
# File 'lib/lutaml/model/validation/layer_result.rb', line 28 def fail? status == "fail" end |
#pass? ⇒ Boolean
24 25 26 |
# File 'lib/lutaml/model/validation/layer_result.rb', line 24 def pass? status == "pass" end |