lib/ruby_goes_rogue/console.rb
# Yield each cell in the console's domain with its corresponding coord.
# @yieldparam cell [Cell]
# @yieldparam coord [Coord]
# @return [Enumerator<:each_with_coord>] if no block is given.
# @return [self] if a block is given.
Yield each cell in the console's domain with its corresponding coord.
Yield each cell in the console ' s domain with its corresponding coord .
def each_with_coord
      return enum_for(:each_with_coord) unless block_given?
      @rect.each { |c| yield self[c], c }
      self
    end
def each_with_coord return enum_for ( :each_with_coord ) unless block_given? @rect . each { | c | yield self [ c ] , c } self end
Yield each cell in the console's domain with its corresponding coord.
Yield each cell in the console ' s domain with its corresponding coord .
if no block is given.
if no block is given .
Enumerator<:each_with_coord>
if a block is given.
if a block is given .
self
<not_specific>
None