Class: Schema::Compare::Comparison::Entry
- Inherits:
-
Struct
- Object
- Struct
- Schema::Compare::Comparison::Entry
- Defined in:
- lib/schema/schema/compare/comparison/entry.rb
Instance Attribute Summary collapse
-
#compare_name ⇒ Object
Returns the value of attribute compare_name.
-
#compare_value ⇒ Object
Returns the value of attribute compare_value.
-
#control_name ⇒ Object
Returns the value of attribute control_name.
-
#control_value ⇒ Object
Returns the value of attribute control_value.
Instance Method Summary collapse
Instance Attribute Details
#compare_name ⇒ Object
Returns the value of attribute compare_name
4 5 6 |
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4 def compare_name @compare_name end |
#compare_value ⇒ Object
Returns the value of attribute compare_value
4 5 6 |
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4 def compare_value @compare_value end |
#control_name ⇒ Object
Returns the value of attribute control_name
4 5 6 |
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4 def control_name @control_name end |
#control_value ⇒ Object
Returns the value of attribute control_value
4 5 6 |
# File 'lib/schema/schema/compare/comparison/entry.rb', line 4 def control_value @control_value end |
Instance Method Details
#different? ⇒ Boolean
10 11 12 |
# File 'lib/schema/schema/compare/comparison/entry.rb', line 10 def different? control_value != compare_value end |