Class: Citrus::Core::CommitChanges

Inherits:
Object
  • Object
show all
Defined in:
lib/citrus/core/commit_changes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#addedObject (readonly)

Returns the value of attribute added.



5
6
7
# File 'lib/citrus/core/commit_changes.rb', line 5

def added
  @added
end

#modifiedObject (readonly)

Returns the value of attribute modified.



5
6
7
# File 'lib/citrus/core/commit_changes.rb', line 5

def modified
  @modified
end

#removedObject (readonly)

Returns the value of attribute removed.



5
6
7
# File 'lib/citrus/core/commit_changes.rb', line 5

def removed
  @removed
end