08.22.16 - 12.18.16
TDD Assignments
TDD developing an assignment class
Testing
intro to testing and TDD
More Modules
including vs extending, enumerable and comparable
Modules
modules as namespaces and mixins
Photo Example
photo class with custom exception classes
Exception Handling
rescuing, raising, and re-reaising
Benchmarking and Exceptions
library adding it's own methods, benchmarking, and beginning of exceptions
Library with Dynamic Methods
book and library example
Returning Values and Calling Methods
books and library, assignment operator
Parameter Passing
collapsing and expanding passed values, hash arguments
Regexp's and Methods
Parsing and changing strings with regexp's and passing values to methods
More Regexps
More car matching and phone numbers
RainbowColors and Regexp
Rainbow range example and more regular expression work
Ranges and Regexps
ranges and regular expressions
Nim and Standard Types
Finished OO Nim exmaple, numbers, strings, ISO country code example
OO Nim
practice writing Nim in OO with blocks amd Procs
More more Blocks
Inject, block_given, Proc's and more madness
Common Iterators
working with the find, each, each_char, sort, map, and collect iterators
More Blocks and Interators
repeat_it, times, walk_thru, each, and find
Hashes, Blocks, and Iterators
finishes cart array example, intro to hashes, and intro to blocks and iterators
Arrays
example of array usage and starting of the cart class
Selections and Loops
if and unless, case, while
Comparisons and Ifs
Comparison operators and if statements
Access Control, Expressions, and Methods
BankAccounts, expressions, and operators
Inheritance and Class Variables and Methods
person and employee example with inheritance and employee counting
OOP Virtual Attributes
updated person, file, and book classes
Overriding and Accessors
Overriding methods and using accessors (readers and writers) to work with attributes
IO and OOP
helpful IO methods and starting OOP examples
Welcome and Basics
Welcome example, variables, and methods