Threesuns

Email the Instructor

Contact

All Semesters

Semesters

All Courses

Courses

2017Fall

08.22.16 - 12.18.16

Ruby

CSYS2853

Tuesday Thursday
02:30 PM - 03:50 PM

29 Examples available

Examples

TDD Assignments

12.08.16

TDD developing an assignment class

Testing

12.06.16

intro to testing and TDD

More Modules

12.01.16

including vs extending, enumerable and comparable

Modules

11.29.16

modules as namespaces and mixins

Photo Example

11.22.16

photo class with custom exception classes

Exception Handling

11.17.16

rescuing, raising, and re-reaising

Benchmarking and Exceptions

11.15.16

library adding it's own methods, benchmarking, and beginning of exceptions

Library with Dynamic Methods

11.10.16

book and library example

Returning Values and Calling Methods

11.03.16

books and library, assignment operator

Parameter Passing

11.01.16

collapsing and expanding passed values, hash arguments

Regexp's and Methods

10.27.16

Parsing and changing strings with regexp's and passing values to methods

More Regexps

10.25.16

More car matching and phone numbers

RainbowColors and Regexp

10.20.16

Rainbow range example and more regular expression work

Ranges and Regexps

10.18.16

ranges and regular expressions

Nim and Standard Types

10.13.16

Finished OO Nim exmaple, numbers, strings, ISO country code example

OO Nim

10.11.16

practice writing Nim in OO with blocks amd Procs

More more Blocks

10.06.16

Inject, block_given, Proc's and more madness

Common Iterators

10.04.16

working with the find, each, each_char, sort, map, and collect iterators

More Blocks and Interators

09.29.16

repeat_it, times, walk_thru, each, and find

Hashes, Blocks, and Iterators

09.27.16

finishes cart array example, intro to hashes, and intro to blocks and iterators

Arrays

09.22.16

example of array usage and starting of the cart class

Selections and Loops

09.20.16

if and unless, case, while

Comparisons and Ifs

09.15.16

Comparison operators and if statements

Access Control, Expressions, and Methods

09.13.16

BankAccounts, expressions, and operators

Inheritance and Class Variables and Methods

09.08.16

person and employee example with inheritance and employee counting

OOP Virtual Attributes

09.06.16

updated person, file, and book classes

Overriding and Accessors

09.01.16

Overriding methods and using accessors (readers and writers) to work with attributes

IO and OOP

08.30.16

helpful IO methods and starting OOP examples

Welcome and Basics

08.25.16

Welcome example, variables, and methods