Class: MendixBridge::SnapshotDiff::Result
- Inherits:
-
Data
- Object
- Data
- MendixBridge::SnapshotDiff::Result
- Defined in:
- lib/mendix_bridge/snapshot_diff.rb
Instance Attribute Summary collapse
-
#added ⇒ Object
readonly
Returns the value of attribute added.
-
#modified ⇒ Object
readonly
Returns the value of attribute modified.
-
#removed ⇒ Object
readonly
Returns the value of attribute removed.
Instance Method Summary collapse
Instance Attribute Details
#added ⇒ Object (readonly)
Returns the value of attribute added
5 6 7 |
# File 'lib/mendix_bridge/snapshot_diff.rb', line 5 def added @added end |
#modified ⇒ Object (readonly)
Returns the value of attribute modified
5 6 7 |
# File 'lib/mendix_bridge/snapshot_diff.rb', line 5 def modified @modified end |
#removed ⇒ Object (readonly)
Returns the value of attribute removed
5 6 7 |
# File 'lib/mendix_bridge/snapshot_diff.rb', line 5 def removed @removed end |
Instance Method Details
#empty? ⇒ Boolean
6 7 8 |
# File 'lib/mendix_bridge/snapshot_diff.rb', line 6 def empty? added.empty? && modified.empty? && removed.empty? end |
#to_h ⇒ Object
10 11 12 |
# File 'lib/mendix_bridge/snapshot_diff.rb', line 10 def to_h { added:, modified:, removed: } end |