Giter VIP home page Giter VIP logo

ruby-oo-assessment's Introduction

Object Orientation Assessment

Objectives

  1. Code a series of classes and methods that will help you to review the concepts covered in this unit.

Instructions

This is a purely test-driven lab. Run the test suite using rspec --fail-fast or learn --fail-fast and use the test output to get all the tests passing.

View Object Orientation Assessment on Learn.co and start learning to code for free.

ruby-oo-assessment's People

Contributors

ahimmelstoss avatar arelenglish avatar aviflombaum avatar fislabstest avatar flatiron-bot avatar fs-lms-test-bot avatar irmiller22 avatar kthffmn avatar loganhasson avatar mrmitchboyer avatar octosteve avatar sarogers avatar sophiedebenedetto avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ruby-oo-assessment's Issues

readme unclear

"parts of the Ruby Assessment were a little confusing---like creating a nested array by separating the species of animals---it was not clear how to determine their species with code." ~student

it is the animal_sorter.rb, which needs more instructions!

@AnnJohn

011_animal_sorter_spec.rb

This can allow for some weird solutions.

Let's make the specs take the criteria for sorting on initialization. Something like

animals = ["fox", "badger", "whale"]
criteria = {sea: ["whale"], land: ["fox", "badger", "cat"]
animal_sorter = AnimalSorter.new(animals, criteria)
animal_sorter.to_a # => [ ["whale"], ["fox", "badger"]]

Or maybe sort into hashes instead.

path.rb

This one needs a solution. Also, the code could be better.

The normalize_path method returns can return nil. We want a normalized, absolute path returned.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.