Explorar o código

Added docs to base adapter

Andrew Kane %!s(int64=8) %!d(string=hai) anos
pai
achega
a0af33b66f
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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