lib/ruby_goes_rogue/console.rb
# Yield each coord in the console's domain.
# @yieldparam coord [Coord]
# @return [Enumerator<:each_coord>] if no block is given.
# @return [self] if a block is given.
Yield each coord in the console's domain.
Yield each coord in the console ' s domain .
def each_coord(&block)
      return enum_for(:each_coord) unless block_given?
      @rect.each(&block)
      self
    end
def each_coord ( & block ) return enum_for ( :each_coord ) unless block_given? @rect . each ( & block ) self end
Yield each coord in the console's domain.
Yield each coord in the console ' s domain .
if no block is given.
if no block is given .
Enumerator<:each_coord>
if a block is given.
if a block is given .
self
block
<not_specific>
<not_specific>
None