Browse Source

Updated section on creating an adapter

Andrew Kane 7 years ago
parent
commit
e54ef0c428
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -497,7 +497,7 @@ data_sources:
 
 Create an adapter for any data store with:
 
-```
+```ruby
 class FooAdapter < Blazer::Adapters::BaseAdapter
   # code goes here
 end
@@ -505,7 +505,7 @@ end
 Blazer.register_adapter "foo", FooAdapter
 ```
 
-See the [Presto adapter](https://github.com/ankane/blazer/blob/master/lib/blazer/adapters/presto_adapter.rb) for a good example.
+See the [Presto adapter](https://github.com/ankane/blazer/blob/master/lib/blazer/adapters/presto_adapter.rb) for a good example. Then use:
 
 ```yml
 data_sources: