Sha256: 4706459a6d75bb48ef7e867d169243771da0f88974b72bc6cf57d2f5562bf915
Contents?: true
Size: 602 Bytes
Versions: 13
Compression:
Stored size: 602 Bytes
Contents
module DataObjects class Command attr_reader :connection # initialize creates a new Command object def initialize(connection, text) raise ArgumentError.new("+connection+ must be a DataObjects::Connection") unless DataObjects::Connection === connection @connection, @text = connection, text end def execute_non_query(*args) raise NotImplementedError.new end def execute_reader(*args) raise NotImplementedError.new end def set_types(column_types) raise NotImplementedError.new end def to_s @text end end end
Version data entries
13 entries across 13 versions & 2 rubygems