Program 1- Ruby Programming Assignment - Google Docs - CSC\/ECE 517(OO Design and Development Program 1 Ruby Due Date 13th September 2019(Friday

Program 1- Ruby Programming Assignment - Google Docs -...

This preview shows page 1 - 2 out of 4 pages.

CSC/ECE 517 (OO Design and Development) Program 1: Ruby Due Date: 13th September 2019 (Friday) 11:59 PM This assignment consists of three parts and gives you an introduction to programming in Ruby. Please find a code template here . You need to complete the declared methods and the Movie class. DO NOT change the method or class definition in any way. Write your code where it says “ # ADD YOUR CODE HERE ”. This file includes mock tests. You may run these tests and add more customized tests in order to check the correctness of your code. The only difference between mock tests and real tests we will run for grading is the number of test cases. Please note that the result of each method must be returned , not printed! Learning Goals The objective of this assignment is for you to … understand method signatures in Ruby; understand how to manipulate strings and arrays in Ruby; write simple code using the basic object-oriented mechanisms in Ruby. Arrays, Hashes, and Enumerables Check the official documentation on Array , Hash and Enumerable as they may be helpful

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture