Method: Grid#to_a

Defined in:
lib/cem/cruzzles.rb,
lib/cem/cruzzles.rb

#to_aObject

returns a copy of the underlying 2D array, with linking to the content (rather than dup the content also)



472
473
474
# File 'lib/cem/cruzzles.rb', line 472

def to_a
  return @data.flatten
end