Sha256: ba5eb5c442b4ca644df1eee44ed5acdd852c58198b4a60f8df56550d7f49383c

Contents?: true

Size: 200 Bytes

Versions: 2

Compression:

Stored size: 200 Bytes

Contents

module DataMapper
  class Property
    class Serial < Integer
      serial    true
      min       1

      # @api private
      def to_child_key
        Property::Integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sbf-dm-core-1.3.0 lib/dm-core/property/serial.rb
sbf-dm-core-1.3.0.beta lib/dm-core/property/serial.rb