Class: Rzd::Coach

Inherits:
Struct
  • Object
show all
Defined in:
lib/rzd/coach.rb

Instance Attribute Summary collapse

Instance Attribute Details

#costObject

Returns the value of attribute cost

Returns:

  • (Object)

    the current value of cost



1
2
3
# File 'lib/rzd/coach.rb', line 1

def cost
  @cost
end

#numObject

Returns the value of attribute num

Returns:

  • (Object)

    the current value of num



1
2
3
# File 'lib/rzd/coach.rb', line 1

def num
  @num
end

#seatsObject

Returns the value of attribute seats

Returns:

  • (Object)

    the current value of seats



1
2
3
# File 'lib/rzd/coach.rb', line 1

def seats
  @seats
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



1
2
3
# File 'lib/rzd/coach.rb', line 1

def type
  @type
end