Class: TreeHaver::EditProjectionExecutionResult
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::EditProjectionExecutionResult
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#applied_operations ⇒ Object
Returns the value of attribute applied_operations.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#ok ⇒ Object
Returns the value of attribute ok.
-
#source ⇒ Object
Returns the value of attribute source.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#applied_operations ⇒ Object
Returns the value of attribute applied_operations
441 442 443 |
# File 'lib/tree_haver/contracts.rb', line 441 def applied_operations @applied_operations end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
441 442 443 |
# File 'lib/tree_haver/contracts.rb', line 441 def diagnostics @diagnostics end |
#ok ⇒ Object
Returns the value of attribute ok
441 442 443 |
# File 'lib/tree_haver/contracts.rb', line 441 def ok @ok end |
#source ⇒ Object
Returns the value of attribute source
441 442 443 |
# File 'lib/tree_haver/contracts.rb', line 441 def source @source end |
#status ⇒ Object
Returns the value of attribute status
441 442 443 |
# File 'lib/tree_haver/contracts.rb', line 441 def status @status end |
Instance Method Details
#to_h ⇒ Object
443 444 445 446 447 448 449 450 451 |
# File 'lib/tree_haver/contracts.rb', line 443 def to_h { ok: ok, status: status, source: source, applied_operations: (applied_operations || []).map(&:to_h), diagnostics: (diagnostics || []).map(&:to_h) } end |