Skip to content

Commit

Permalink
Renaming to make two problems extra credit and editing comments slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
mpxc8102 committed Aug 2, 2013
1 parent 30f7a83 commit f2ed535
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 27 deletions.
6 changes: 2 additions & 4 deletions 09_temperature_object/temperature_object_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Note: The problems are becoming more difficult now!
# Take your time with the next four, don't be scared to ask for help,
# we're pushing your limits, if you can do them you'll be in an amazing position moving forward.
# Note:

# Remember one degree fahrenheit is 5/9 of one degree celsius,
# and the freezing point of water is 0 degrees celsius but 32 degrees fahrenheit.
Expand Down Expand Up @@ -128,7 +126,7 @@
#
# 1. Fill in the tests below, so that they test for two class methods – ftoc and ctof
# 2. Refactor the rest of your code so it calls these two methods when appropriate

describe "utility class methods" do

end
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# # Array Extension
#
# # Topics
#
# * objects, methods, classes
# * reopening classes
#

require "array_extensions" # we don't call it "array.rb" since that would be confusing

describe Array do
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# # Topics
#
# * Hash
# * Array
# * instance variables
# * regular expressions
#

require 'dictionary'

describe Dictionary do
Expand Down Expand Up @@ -71,13 +63,7 @@
@d.add('zebra' => 'African land animal with stripes')
@d.add('fish' => 'aquatic animal')
@d.add('apple' => 'fruit')
# Enter %w(apple fish zebra) in irb and see what happens
@d.keywords.should == %w(apple fish zebra)
end

it 'can produce printable output like so: [keyword] "definition"' do
@d.add('zebra' => 'African land animal with stripes')
@d.add('fish' => 'aquatic animal')
@d.add('apple' => 'fruit')
@d.printable.should == %Q{[apple] "fruit"\n[fish] "aquatic animal"\n[zebra] "African land animal with stripes"}
end
end
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f2ed535

Please sign in to comment.