No description, website, or topics provided.
Ruby CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
Gemfile~
README.rdoc
Rakefile
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