Class: Coopy::TableComparisonState
- Inherits:
-
Object
- Object
- Coopy::TableComparisonState
- Defined in:
- lib/lib/coopy/table_comparison_state.rb
Instance Attribute Summary collapse
-
#a ⇒ Object
Returns the value of attribute a.
-
#b ⇒ Object
Returns the value of attribute b.
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#has_same_columns ⇒ Object
Returns the value of attribute has_same_columns.
-
#has_same_columns_known ⇒ Object
Returns the value of attribute has_same_columns_known.
-
#is_equal ⇒ Object
Returns the value of attribute is_equal.
-
#is_equal_known ⇒ Object
Returns the value of attribute is_equal_known.
-
#p ⇒ Object
Returns the value of attribute p.
-
#run_to_completion ⇒ Object
Returns the value of attribute run_to_completion.
Instance Method Summary collapse
-
#initialize ⇒ TableComparisonState
constructor
A new instance of TableComparisonState.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ TableComparisonState
Returns a new instance of TableComparisonState.
7 8 9 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 7 def initialize self.reset end |
Instance Attribute Details
#a ⇒ Object
Returns the value of attribute a.
12 13 14 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 12 def a @a end |
#b ⇒ Object
Returns the value of attribute b.
13 14 15 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 13 def b @b end |
#completed ⇒ Object
Returns the value of attribute completed.
14 15 16 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 14 def completed @completed end |
#has_same_columns ⇒ Object
Returns the value of attribute has_same_columns.
18 19 20 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 18 def has_same_columns @has_same_columns end |
#has_same_columns_known ⇒ Object
Returns the value of attribute has_same_columns_known.
19 20 21 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 19 def has_same_columns_known @has_same_columns_known end |
#is_equal ⇒ Object
Returns the value of attribute is_equal.
16 17 18 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 16 def is_equal @is_equal end |
#is_equal_known ⇒ Object
Returns the value of attribute is_equal_known.
17 18 19 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 17 def is_equal_known @is_equal_known end |
#p ⇒ Object
Returns the value of attribute p.
11 12 13 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 11 def p @p end |
#run_to_completion ⇒ Object
Returns the value of attribute run_to_completion.
15 16 17 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 15 def run_to_completion @run_to_completion end |
Instance Method Details
#reset ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 21 def reset @completed = false @run_to_completion = true @is_equal_known = false @is_equal = false @has_same_columns = false @has_same_columns_known = false end |