Software Development (CSC 321 2015F) : EBoards
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] [FAQ] [Teaching & Learning]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Outlines]
Reference: [Slack] [Ruby@CodeCademy]
Related Courses: [CSC 321 2015F @ EdX] [Berkeley CS 169 2014F] [CSC 321 2015S (Davis)] [CSC 322 2015F (Rebelsky)]
Misc: [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] [Issue Tracker]
Overview
Why can't we submit the quizzes?
I don't know. I'll work on it in my two hours.
ab
[aeiou]b
+
means 1 or more copies{n,m}
between and m copies - I think
\*
ab*
. Use parentheses!|
.yield
and passing blocks vs. procsclass_eval
attr_setter
attr_getter
mixins
Ones we are dismissing quickly
each
not a loop?
attr_accessor :foo
is easier than
def foo
@foo
end
def foo=(bar)
@foo = bar
end(section - <> 2)
or (r-s - 2)
attr_writer
and attr_reader
attr_setter sym
that generates and
adds a method of the form
def sym=(var)
@sym = var
endclass_eval
!class_eval
and what does it do?