Method: MapReader::MapRoom#inspect
- Defined in:
- lib/IFMapper/MapReader.rb
#inspect ⇒ Object
137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/IFMapper/MapReader.rb', line 137 def inspect r = "#{to_s}\n" @exits.each_with_index { |e, idx| next if not e if idx > 7 dir = Connection::EXIT_TEXT[idx-7] else dir = Room::DIRECTIONS[idx] end r += "\t#{dir.upcase}: #{e}" } return r end |