Class: RecordDiff::Results::AbstractResult
- Inherits:
-
Object
- Object
- RecordDiff::Results::AbstractResult
show all
- Defined in:
- lib/record_diff/results/abstract_result.rb
Overview
Abstract result implementation.
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#after_compare ⇒ Hash
Also known as:
after
9
10
11
|
# File 'lib/record_diff/results/abstract_result.rb', line 9
def after_compare
@after_compare
end
|
#after_original ⇒ Object
Returns the value of attribute after_original.
7
8
9
|
# File 'lib/record_diff/results/abstract_result.rb', line 7
def after_original
@after_original
end
|
#before_compare ⇒ Hash
Also known as:
before
9
10
11
|
# File 'lib/record_diff/results/abstract_result.rb', line 9
def before_compare
@before_compare
end
|
#before_original ⇒ Object
Returns the value of attribute before_original.
7
8
9
|
# File 'lib/record_diff/results/abstract_result.rb', line 7
def before_original
@before_original
end
|
11
12
13
|
# File 'lib/record_diff/results/abstract_result.rb', line 11
def before_transform
@before_transform
end
|
#id ⇒ Object
Returns the value of attribute id.
7
8
9
|
# File 'lib/record_diff/results/abstract_result.rb', line 7
def id
@id
end
|
#record_diff ⇒ Array<Symbol>, Proc
11
12
13
|
# File 'lib/record_diff/results/abstract_result.rb', line 11
def record_diff
@record_diff
end
|
Instance Method Details
#added? ⇒ Boolean
16
17
18
|
# File 'lib/record_diff/results/abstract_result.rb', line 16
def added?
false
end
|
#changed? ⇒ Boolean
24
25
26
|
# File 'lib/record_diff/results/abstract_result.rb', line 24
def changed?
false
end
|
#dropped? ⇒ Boolean
28
29
30
|
# File 'lib/record_diff/results/abstract_result.rb', line 28
def dropped?
false
end
|
#error? ⇒ Boolean
32
33
34
|
# File 'lib/record_diff/results/abstract_result.rb', line 32
def error?
false
end
|
#unchanged? ⇒ Boolean
20
21
22
|
# File 'lib/record_diff/results/abstract_result.rb', line 20
def unchanged?
false
end
|