Class: CodebrackerSimb::Checker

Inherits:
Array
  • Object
show all
Defined in:
lib/codebracker_simb/checker.rb

Instance Method Summary collapse

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

#compareObject



12
13
14
15
# File 'lib/codebracker_simb/checker.rb', line 12

def compare
  fill
  output
end