Class: Rzd::Coach
- Inherits:
-
Struct
- Object
- Struct
- Rzd::Coach
- Defined in:
- lib/rzd/coach.rb
Instance Attribute Summary collapse
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#num ⇒ Object
Returns the value of attribute num.
-
#seats ⇒ Object
Returns the value of attribute seats.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#cost ⇒ Object
Returns the value of attribute cost
1 2 3 |
# File 'lib/rzd/coach.rb', line 1 def cost @cost end |
#num ⇒ Object
Returns the value of attribute num
1 2 3 |
# File 'lib/rzd/coach.rb', line 1 def num @num end |
#seats ⇒ Object
Returns the value of attribute seats
1 2 3 |
# File 'lib/rzd/coach.rb', line 1 def seats @seats end |
#type ⇒ Object
Returns the value of attribute type
1 2 3 |
# File 'lib/rzd/coach.rb', line 1 def type @type end |