Method: Train::Platforms.list

Defined in:
lib/train/platforms.rb

.listHash

Retrieve the current platform list

Returns:

  • (Hash)

    map with platform names and their objects



17
18
19
# File 'lib/train/platforms.rb', line 17

def list
  @list ||= {}
end