Class: Change
- Inherits:
-
Object
- Object
- Change
- Defined in:
- lib/codespicuous/commits.rb
Instance Attribute Summary collapse
-
#copyfrom ⇒ Object
Returns the value of attribute copyfrom.
-
#copyrev ⇒ Object
Returns the value of attribute copyrev.
-
#file ⇒ Object
Returns the value of attribute file.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
- #changed_property? ⇒ Boolean
-
#initialize ⇒ Change
constructor
A new instance of Change.
- #property_changed ⇒ Object
Constructor Details
#initialize ⇒ Change
Returns a new instance of Change.
5 6 7 |
# File 'lib/codespicuous/commits.rb', line 5 def initialize @changed_property = false end |
Instance Attribute Details
#copyfrom ⇒ Object
Returns the value of attribute copyfrom.
9 10 11 |
# File 'lib/codespicuous/commits.rb', line 9 def copyfrom @copyfrom end |
#copyrev ⇒ Object
Returns the value of attribute copyrev.
9 10 11 |
# File 'lib/codespicuous/commits.rb', line 9 def copyrev @copyrev end |
#file ⇒ Object
Returns the value of attribute file.
9 10 11 |
# File 'lib/codespicuous/commits.rb', line 9 def file @file end |
#kind ⇒ Object
Returns the value of attribute kind.
9 10 11 |
# File 'lib/codespicuous/commits.rb', line 9 def kind @kind end |
#type ⇒ Object
Returns the value of attribute type.
9 10 11 |
# File 'lib/codespicuous/commits.rb', line 9 def type @type end |
Instance Method Details
#changed_property? ⇒ Boolean
11 12 13 |
# File 'lib/codespicuous/commits.rb', line 11 def changed_property? @changed_property end |
#property_changed ⇒ Object
15 16 17 |
# File 'lib/codespicuous/commits.rb', line 15 def property_changed @changed_property = true end |