Permalink
Browse files

Fix formatting on README (take 3)

  • Loading branch information...
1 parent 5788555 commit 83badac974d6f8a5d39b028f91a11dfce49ec029 @markmcspadden markmcspadden committed May 26, 2011
Showing with 6 additions and 6 deletions.
  1. +6 −6 README.textile
View
@@ -8,21 +8,21 @@ The DonorsChoose::Data module match up the normalized data provided by DonorsCho
h2. Usage
-@@@ruby
+@@@@ruby
project = DonorsChoose::Data::Project.first
project.donations
school = DonorsChoose::Data::School.last
school.teachers
-@@@
+@@@@
h3. Rails
If you'd like to use it in Rails, just add the following to your Gemfile:
-@@@ruby
+@@@@ruby
gem 'donors_choose'
-@@@
+@@@@
h3. Stand alone
@@ -40,12 +40,12 @@ schema_search_path: public
Then, drop into irb, require the gem, and establish the db connection
-@@@ruby
+@@@@ruby
terminal$ irb
irb(main):001:0> require 'rubygems'
irb(main):001:0> require 'donors_choose'
irb(main):001:0> DonorsChoose::Data.connect(YAML.load(File.read('database.yml')))
irb(main):001:0> DonorsChoose::Data::Project.first
-@@@
+@@@@

0 comments on commit 83badac

Please sign in to comment.