Train Docs
Fall 2024
API

# SleepingCar

o1.train.SleepingCar
See the SleepingCar companion class
object SleepingCar

This companion object of the `SleepingCar` class merely provides a named constant that the class uses.

## Attributes

See also

  the class SleepingCar

Companion
  class
Graph
Supertypes
  class Object
  trait Matchable
  class Any
Self type
  SleepingCar.type

## Members list

### Value members

#### Concrete fields

val BedsPerCabin: Int

The number of places in each cabin of a sleeping car. This is a constant.

The number of places in each cabin of a sleeping car. This is a constant.

## Attributes