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



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

def cost
  @cost
end

#numObject

Returns the value of attribute num



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

def num
  @num
end

#seatsObject

Returns the value of attribute seats



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

def seats
  @seats
end

#typeObject

Returns the value of attribute type



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

def type
  @type
end