Class: Irwi::Comparators::Spans::NotChangedSpan
- Inherits:
-
Object
- Object
- Irwi::Comparators::Spans::NotChangedSpan
- Defined in:
- lib/irwi/comparators/spans/not_changed_span.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
(also: #old_value, #new_value)
Returns the value of attribute value.
Instance Method Summary collapse
- #action ⇒ Object
-
#initialize(v) ⇒ NotChangedSpan
constructor
A new instance of NotChangedSpan.
- #to_s ⇒ Object
Constructor Details
#initialize(v) ⇒ NotChangedSpan
Returns a new instance of NotChangedSpan.
5 6 7 |
# File 'lib/irwi/comparators/spans/not_changed_span.rb', line 5 def initialize( v ) @value = v end |
Instance Attribute Details
#value ⇒ Object Also known as: old_value, new_value
Returns the value of attribute value.
3 4 5 |
# File 'lib/irwi/comparators/spans/not_changed_span.rb', line 3 def value @value end |
Instance Method Details
#action ⇒ Object
13 14 15 |
# File 'lib/irwi/comparators/spans/not_changed_span.rb', line 13 def action '=' end |
#to_s ⇒ Object
9 10 11 |
# File 'lib/irwi/comparators/spans/not_changed_span.rb', line 9 def to_s @value.to_s end |