Method: DataObjects::Connection#create_command

Defined in:
lib/data_objects/connection.rb

#create_command(text) ⇒ Object

Create a Command object of the right subclass using the given text



121
122
123
# File 'lib/data_objects/connection.rb', line 121

def create_command(text)
  self.class.concrete_command.new(self, text)
end