Class: TreeHaver::EditProjectionProviderMatrix
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::EditProjectionProviderMatrix
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#operations ⇒ Object
Returns the value of attribute operations.
-
#providers ⇒ Object
Returns the value of attribute providers.
Instance Method Summary collapse
Instance Attribute Details
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
498 499 500 |
# File 'lib/tree_haver/contracts.rb', line 498 def diagnostics @diagnostics end |
#operations ⇒ Object
Returns the value of attribute operations
498 499 500 |
# File 'lib/tree_haver/contracts.rb', line 498 def operations @operations end |
#providers ⇒ Object
Returns the value of attribute providers
498 499 500 |
# File 'lib/tree_haver/contracts.rb', line 498 def providers @providers end |
Instance Method Details
#to_h ⇒ Object
499 500 501 502 503 504 505 |
# File 'lib/tree_haver/contracts.rb', line 499 def to_h { operations: operations || [], providers: (providers || []).map(&:to_h), diagnostics: diagnostics || [] } end |