Skip to content

Commit

Permalink
Remove old example, add script to run all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
gcao committed Jan 2, 2013
1 parent 5674211 commit 4e5cb45
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 48 deletions.
2 changes: 2 additions & 0 deletions examples/design_by_contract.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class ContractExample < Aspector::Base


############################## ##############################


=begin
class A class A
include DesignByContract include DesignByContract
Expand All @@ -68,4 +69,5 @@ class A
def buy price def buy price
end end
end end
=end


48 changes: 0 additions & 48 deletions examples/dropbox_concern_rewrite.rb

This file was deleted.

12 changes: 12 additions & 0 deletions run_all_examples.sh
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh

for f in examples/*
do
echo
echo === Running $f ===
echo
ruby $f
echo
echo
done

0 comments on commit 4e5cb45

Please sign in to comment.