cclaiborne/robotank-showdown
Public repository.
(1) Use object-oriented Ruby to model a public library (w/ three classes: Library, Shelf, & Book). The library should be aware of a number of shelves. Each shelf should know what books it contains. Make the book object have "enshelf" and "unshelf" methods that control what shelf the book is sitting on. The library should have a method to report all books it contains. Note: this should *not* be a Rails app - just a single file with three classes (plus commands at the bottom showing it works) is all that is needed.
This repository is cataloged as part of our automated global GitHub synchronization. Full telemetry, velocity snapshots, and code summaries are scheduled for continuous enrichment.
Public repository.
Public repository.
Code Fellows store, selling the inventory of branded swag.
Create a Ruby class that is initialized with an array of objects. Instances of your newly created class should be able to identify the most awesome object, the average awesomeness of all the objects, and it should provide a method that will print out a list of the top 10 most awesome objects. Make sure to include tests.