Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Gemfile~
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.rdoc

EXCERCISE 1

Airplane class


class variable: @@total_airplanes

Methods:

  • valid_seating(val)

  • valid_num(num) is protected

  • use

  • show_info


Destination class


class variable: @@total_destinantions

Methods:

  • show_info


Flight class


class variable: @@total_flights

Methods:

  • tickets_availables

  • show_info


Passenger class


class variable: @@total_passengers

Methods:

  • buy_ticket(fl)

  • show_info


Ticket class


class variable: @@total_tickets

Methods:

  • randomly_num_ticket

  • number_total_tickets

  • show_info


Something went wrong with that request. Please try again.