Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homework Four --- of chaos and beyond -- #57

Open
wants to merge 50 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
8abcc58
Working homework one
jjs0sbw Oct 6, 2014
1226384
Finishing up homework one
jjs0sbw Oct 9, 2014
9f933b9
class answers to hw
reneedv Oct 10, 2014
225c85e
new attempt to pull upstream
jjs0sbw Oct 10, 2014
5d4b26f
code from class
reneedv Oct 10, 2014
b7d1d6a
Working homework 2
jjs0sbw Oct 13, 2014
4f1f4e1
Finishing up the homework for this week.
jjs0sbw Oct 16, 2014
3a18e3f
week 1 question answers
reneedv Oct 16, 2014
75a5c1d
Merge branch 'master' into answers
reneedv Oct 17, 2014
8313f91
Finishing up the merge
jjs0sbw Oct 17, 2014
5805e88
Finished up homework questions
jjs0sbw Oct 20, 2014
6a683ae
Finishing up HW3
jjs0sbw Oct 20, 2014
d6120a7
week 3 answers
reneedv Oct 23, 2014
9280a7c
Merge remote-tracking branch 'upstream/master'
jjs0sbw Oct 24, 2014
a0602a7
Merge branch 'master' into answers
reneedv Oct 24, 2014
49e8882
week 4 work
reneedv Oct 24, 2014
b04d9b1
Working HW 4
jjs0sbw Oct 28, 2014
0938f9f
Merge branch 'master' into answers
reneedv Oct 31, 2014
b95d9db
Merge branch 'master' of github.com:UWE-Ruby/RubyFall2014
jjs0sbw Oct 31, 2014
4157004
examples
reneedv Oct 31, 2014
7ce76a5
work from class
reneedv Oct 31, 2014
a502ac7
hw question answers
reneedv Nov 6, 2014
b6be2d1
Merge branch 'master' into answers
reneedv Nov 6, 2014
28595db
Working week 5 stuff
jjs0sbw Nov 7, 2014
8978134
Merge branch 'master' of github.com:UWE-Ruby/RubyFall2014
jjs0sbw Nov 7, 2014
96b0ff4
Workin ganswer branch conflicts
jjs0sbw Nov 8, 2014
9fab4b2
Working answer branch conflicts
jjs0sbw Nov 8, 2014
caa2e9d
Merge branch 'master' of github.com:UWE-Ruby/RubyFall2014
jjs0sbw Nov 14, 2014
d4d89af
Working HW 7
jjs0sbw Nov 17, 2014
5aac15c
Working HW 7
jjs0sbw Nov 17, 2014
c9328dd
Working HW 7
jjs0sbw Nov 17, 2014
459ebc8
Working HW 7 - tic-tac-toe
jjs0sbw Nov 17, 2014
ab05a5c
Working HW 7 - ttt
jjs0sbw Nov 17, 2014
a0df5d6
Working HW7
jjs0sbw Nov 20, 2014
d2fcfa6
Merge branch 'master' of github.com:UWE-Ruby/RubyFall2014
jjs0sbw Nov 21, 2014
f818ab4
create new final directory
jjs0sbw Nov 30, 2014
f825a64
Working steps corrections
jjs0sbw Nov 30, 2014
864671f
Updated steps file
jjs0sbw Nov 30, 2014
378fb29
Working finial Ruby test
jjs0sbw Nov 30, 2014
4a7f5ab
Working Ruby final
jjs0sbw Dec 1, 2014
07f528f
Working Ruby final
jjs0sbw Dec 1, 2014
f95adea
Working Ruby final
jjs0sbw Dec 1, 2014
2c4790d
Work Ruby final
jjs0sbw Dec 1, 2014
c38d87e
Working Ruby final
jjs0sbw Dec 1, 2014
58317f4
Working Ruby final
jjs0sbw Dec 1, 2014
5131583
Working Ruby final
jjs0sbw Dec 1, 2014
3932663
Work Ruby final
jjs0sbw Dec 2, 2014
aff8b27
Ruby final passes cucumber tests
jjs0sbw Dec 2, 2014
f372b6a
Merge branch 'master' of github.com:UWE-Ruby/RubyFall2014
jjs0sbw Dec 5, 2014
3daf5a4
Merge branch 'master' of github.com:UWE-Ruby/RubyFall2014
jjs0sbw Dec 12, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
examples
reneedv committed Oct 31, 2014
commit 415700454c352a874fc485f75c81241451b85fec
1 change: 0 additions & 1 deletion week4/exercises/timer_spec.rb
Original file line number Diff line number Diff line change
@@ -13,7 +13,6 @@
end

it "should return the run time for our code" do

run_time = Timer.time_code do
sleep(3)
nil
2 changes: 1 addition & 1 deletion week4/homework/questions.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Please Read:
Chapter 10 Basic Input and Output
The Rake Gem: http://rake.rubyforge.org/
The Rake Gem: http://docs.seattlerb.org/rake/

1. How does Ruby read files?

20 changes: 20 additions & 0 deletions week5/examples/Rakefile.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
desc "This is a task that takes command line arguments"
task :task_w_args, [:arg1, :arg2] do |t, args|
puts "Args were: #{args}"
end

desc "This task sets defaults for its arguments"
task :with_defaults, :name1, :name2 do |t, args|
args.with_defaults(arg1: "hi", arg2: "hello")
puts "Args with defaults were: #{args}"
end

desc "This task calls another rake task"
task :call_task do
Rake::Task[:task_w_args].invoke(3, 4)
end

desc "This task passes arguments to dependent tasks"
task :with_args, [:arg1, :arg2] => :task_w_args