Class: Xudoku::Formatter::JSON

Inherits:
Base
  • Object
show all
Defined in:
lib/xudoku/formatter/json.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from Base

#board

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Xudoku::Formatter::Base

Instance Method Details

#formatObject



9
10
11
# File 'lib/xudoku/formatter/json.rb', line 9

def format
  board.to_a.to_json
end