Sha256: 35313b3dd39ef3881832fc8410c8b34d53ce65ca63a02dbc3f6dfd5e55ba744d

Contents?: true

Size: 268 Bytes

Versions: 23

Compression:

Stored size: 268 Bytes

Contents

module Discerner
  module Methods
    module Models
      module Warning
        def self.included(base)
          attr_accessor :force_save
        end

        def warnings
          @warnings ||= ActiveModel::Errors.new(self)
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
discerner-2.0.16 lib/discerner/methods/models/warning.rb
discerner-2.0.15 lib/discerner/methods/models/warning.rb
discerner-2.0.14 lib/discerner/methods/models/warning.rb
discerner-2.0.13 lib/discerner/methods/models/warning.rb
discerner-1.2.2 lib/discerner/methods/models/warning.rb
discerner-2.0.12 lib/discerner/methods/models/warning.rb
discerner-1.2.1 lib/discerner/methods/models/warning.rb
discerner-2.0.11 lib/discerner/methods/models/warning.rb
discerner-2.0.10 lib/discerner/methods/models/warning.rb
discerner-1.2.0 lib/discerner/methods/models/warning.rb
discerner-2.0.9 lib/discerner/methods/models/warning.rb
discerner-2.0.8 lib/discerner/methods/models/warning.rb
discerner-2.0.7 lib/discerner/methods/models/warning.rb
discerner-2.0.6 lib/discerner/methods/models/warning.rb
discerner-2.0.5 lib/discerner/methods/models/warning.rb
discerner-2.0.4 lib/discerner/methods/models/warning.rb
discerner-2.0.3 lib/discerner/methods/models/warning.rb
discerner-2.0.2 lib/discerner/methods/models/warning.rb
discerner-2.0.1 lib/discerner/methods/models/warning.rb
discerner-2.0.0 lib/discerner/methods/models/warning.rb