Skip to content

Commit

Permalink
move the solution into the solved dir
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshCheek committed Jul 1, 2011
1 parent 1c626ec commit 0bd4a84
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions session6/solved/1.rb
@@ -0,0 +1 @@
# Here is my solution to the app.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion session6/spec/1.rb
@@ -1,4 +1,9 @@
app_root = File.expand_path "#{File.dirname __FILE__}/../challenge/1_build_an_app"
if $LOADED_FEATURES.grep(/session6\/solved\/1/).empty?
app_root = File.expand_path "#{File.dirname __FILE__}/../challenge/1_build_an_app"
else
app_root = File.expand_path "#{File.dirname __FILE__}/../solved/1_build_an_app"
end

main = self

# check necessary preliminaries
Expand Down

0 comments on commit 0bd4a84

Please sign in to comment.