Train Docs
Fall 2025
API

# SleepingCar

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

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

## Attributes

See also

  the SleepingCar class

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