Class: Codenjoy::Client::Games::Kata::Board
- Defined in:
- lib/codenjoy/games/kata/board.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
Methods inherited from BaseBoard
#any_of_at?, #at?, #board_to_s, #count_near, #find_all, #find_by_list, #get_at, #near?, #size, #xyl
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
14 15 16 |
# File 'lib/codenjoy/games/kata/board.rb', line 14 def data @data end |
Instance Method Details
#process(data, level) ⇒ Object
16 17 18 |
# File 'lib/codenjoy/games/kata/board.rb', line 16 def process(data, level) @data = JSON.parse(data) end |