Class: Pangrid::ExolveFilled

Inherits:
Plugin
  • Object
show all
Includes:
ExolveReader, ExolveWriter
Defined in:
lib/pangrid/plugins/exolve.rb

Constant Summary collapse

DESCRIPTION =
"Exolve writer with solutions"

Constants inherited from Plugin

Plugin::FAILED, Plugin::MISSING_DEPS, Plugin::REGISTRY

Instance Method Summary collapse

Methods included from ExolveWriter

#format_clues, #format_headers, #indent, #write

Methods included from ExolveReader

#parse_grid, #parse_grid_char, #read, #sections

Methods inherited from Plugin

class_to_name, get, inherited, list_all, load_all, load_plugin

Methods included from PluginUtils

#check

Instance Method Details

#format_grid(xw) ⇒ Object



113
114
115
# File 'lib/pangrid/plugins/exolve.rb', line 113

def format_grid(xw)
  xw.to_array(:black => '.', :null => '0').map(&:join)
end