Class: LcpRuby::Metadata::ContractResult
- Inherits:
-
Struct
- Object
- Struct
- LcpRuby::Metadata::ContractResult
- Defined in:
- lib/lcp_ruby/metadata/contract_result.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
3 4 5 |
# File 'lib/lcp_ruby/metadata/contract_result.rb', line 3 def errors @errors end |
#warnings ⇒ Object
Returns the value of attribute warnings
3 4 5 |
# File 'lib/lcp_ruby/metadata/contract_result.rb', line 3 def warnings @warnings end |
Instance Method Details
#valid? ⇒ Boolean
4 5 6 |
# File 'lib/lcp_ruby/metadata/contract_result.rb', line 4 def valid? errors.empty? end |