Sha256: cd28ace28fb3ebf4522f13dd687d8790e3bdaf547aa716f26ea3fa3e3f74cc5f
Contents?: true
Size: 299 Bytes
Versions: 7
Compression:
Stored size: 299 Bytes
Contents
# frozen_string_literal: true module Scribo module ActiveModel class ErrorsDrop < Liquid::Drop def initialize(object) @object = object end delegate :base, :details, to: :@object def messages @object.messages.stringify_keys end end end end
Version data entries
7 entries across 7 versions & 1 rubygems