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.
-
#a_meta ⇒ Object
Returns the value of attribute a_meta.
-
#alignment ⇒ Object
Returns the value of attribute alignment.
-
#b ⇒ Object
Returns the value of attribute b.
-
#b_meta ⇒ Object
Returns the value of attribute b_meta.
-
#child_order ⇒ Object
Returns the value of attribute child_order.
-
#children ⇒ Object
Returns the value of attribute children.
-
#compare_flags ⇒ Object
Returns the value of attribute compare_flags.
-
#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.
-
#p_meta ⇒ Object
Returns the value of attribute p_meta.
-
#run_to_completion ⇒ Object
Returns the value of attribute run_to_completion.
Instance Method Summary collapse
- #get_meta ⇒ Object
-
#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 |
#a_meta ⇒ Object
Returns the value of attribute a_meta.
22 23 24 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 22 def end |
#alignment ⇒ Object
Returns the value of attribute alignment.
24 25 26 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 24 def alignment @alignment 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 |
#b_meta ⇒ Object
Returns the value of attribute b_meta.
23 24 25 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 23 def end |
#child_order ⇒ Object
Returns the value of attribute child_order.
26 27 28 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 26 def child_order @child_order end |
#children ⇒ Object
Returns the value of attribute children.
25 26 27 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 25 def children @children end |
#compare_flags ⇒ Object
Returns the value of attribute compare_flags.
20 21 22 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 20 def compare_flags @compare_flags 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 |
#p_meta ⇒ Object
Returns the value of attribute p_meta.
21 22 23 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 21 def 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
#get_meta ⇒ Object
41 42 43 44 45 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 41 def = @p. if @p != nil && == nil = @a. if @a != nil && == nil = @b. if @b != nil && == nil end |
#reset ⇒ Object
28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/lib/coopy/table_comparison_state.rb', line 28 def reset @completed = false @run_to_completion = true @is_equal_known = false @is_equal = false @has_same_columns = false @has_same_columns_known = false @compare_flags = nil @alignment = nil @children = nil @child_order = nil end |