Class: Change

Inherits:
Object
  • Object
show all
Defined in:
lib/codespicuous/commits.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChange

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

#copyfromObject

Returns the value of attribute copyfrom.



9
10
11
# File 'lib/codespicuous/commits.rb', line 9

def copyfrom
  @copyfrom
end

#copyrevObject

Returns the value of attribute copyrev.



9
10
11
# File 'lib/codespicuous/commits.rb', line 9

def copyrev
  @copyrev
end

#fileObject

Returns the value of attribute file.



9
10
11
# File 'lib/codespicuous/commits.rb', line 9

def file
  @file
end

#kindObject

Returns the value of attribute kind.



9
10
11
# File 'lib/codespicuous/commits.rb', line 9

def kind
  @kind
end

#typeObject

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

Returns:

  • (Boolean)


11
12
13
# File 'lib/codespicuous/commits.rb', line 11

def changed_property?
  @changed_property
end

#property_changedObject



15
16
17
# File 'lib/codespicuous/commits.rb', line 15

def property_changed
  @changed_property = true
end