Class: Xudoku::Formatter::Base
- Inherits:
-
Object
- Object
- Xudoku::Formatter::Base
- Defined in:
- lib/xudoku/formatter/base.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#board ⇒ Object
readonly
Returns the value of attribute board.
Instance Method Summary collapse
- #format ⇒ Object
-
#initialize(board) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(board) ⇒ Base
Returns a new instance of Base.
9 10 11 |
# File 'lib/xudoku/formatter/base.rb', line 9 def initialize(board) @board = board end |
Instance Attribute Details
#board ⇒ Object (readonly)
Returns the value of attribute board.
7 8 9 |
# File 'lib/xudoku/formatter/base.rb', line 7 def board @board end |
Instance Method Details
#format ⇒ Object
13 14 15 |
# File 'lib/xudoku/formatter/base.rb', line 13 def format raise "Unimplemented" end |