Class: Citrus::Core::CommitChanges
- Inherits:
-
Object
- Object
- Citrus::Core::CommitChanges
- Defined in:
- lib/citrus/core/commit_changes.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
-
#initialize(added, removed, modified) ⇒ CommitChanges
constructor
A new instance of CommitChanges.
Constructor Details
#initialize(added, removed, modified) ⇒ CommitChanges
Returns a new instance of CommitChanges.
7 8 9 10 11 |
# File 'lib/citrus/core/commit_changes.rb', line 7 def initialize(added, removed, modified) @added = added @removed = removed @modified = modified end |
Instance Attribute Details
#added ⇒ Object (readonly)
Returns the value of attribute added.
5 6 7 |
# File 'lib/citrus/core/commit_changes.rb', line 5 def added @added end |
#modified ⇒ Object (readonly)
Returns the value of attribute modified.
5 6 7 |
# File 'lib/citrus/core/commit_changes.rb', line 5 def modified @modified end |
#removed ⇒ Object (readonly)
Returns the value of attribute removed.
5 6 7 |
# File 'lib/citrus/core/commit_changes.rb', line 5 def removed @removed end |