Class: CodebrackerSimb::Checker
- Inherits:
-
Array
- Object
- Array
- CodebrackerSimb::Checker
- Defined in:
- lib/codebracker_simb/checker.rb
Instance Method Summary collapse
- #compare ⇒ Object
-
#initialize(code, ans) ⇒ Checker
constructor
A new instance of Checker.
Constructor Details
#initialize(code, ans) ⇒ Checker
Returns a new instance of Checker.
5 6 7 8 9 10 |
# File 'lib/codebracker_simb/checker.rb', line 5 def initialize(code, ans) @ans = ans @code = code @columns_with_plus = [] super([[nil, nil, nil, nil], [nil, nil, nil, nil], [nil, nil, nil, nil], [nil, nil, nil, nil]]) end |
Instance Method Details
#compare ⇒ Object
12 13 14 15 |
# File 'lib/codebracker_simb/checker.rb', line 12 def compare fill output end |