Sha256: 783725a23a6ec59c90dc88b9721123eb30b254ae62bf9eca6b5513fb54c975b6
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 Bytes
Contents
module DataMapper module Queries class Result attr_accessor :size, :last_inserted_id def initialize(size, last_inserted_id = nil) @size, @last_inserted_id = size, last_inserted_id end def success? size > 0 end end # class Result end # module Queries end # module DataMapper
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datamapper-0.1.0 | lib/data_mapper/queries/result.rb |