class Ardm::Property::Integer

Public Class Methods

new(model, name, options = {}) click to toggle source

@api semipublic

Calls superclass method
# File lib/ardm/property/integer.rb, line 15
def initialize(model, name, options = {})
  if options.key?(:serial) && !kind_of?(Serial)
    raise "Integer #{name} with explicit :serial option is deprecated, use Serial instead (#{caller[2]})"
  end
  super
end