소스 검색

Added docs to base adapter

Andrew Kane 8 년 전
부모
커밋
a0af33b66f
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      lib/blazer/adapters/base_adapter.rb

+ 5 - 0
lib/blazer/adapters/base_adapter.rb

@@ -8,18 +8,23 @@ module Blazer
       end
 
       def run_statement(statement, comment)
+        # the one required method
       end
 
       def tables
+        [] # optional, but nice to have
       end
 
       def reconnect
+        # optional
       end
 
       def cost(statement)
+        # optional
       end
 
       def explain(statement)
+        # optional
       end
     end
   end