Sha256: 6612f95bce2b57228ad24e268bfd13661ee986602382b2f27b6b4dda386ce506

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

# frozen_string_literal: true

module Leftovers
  class ConfigLoader
    class ValueProcessorSchema < ValueOrObjectSchema
      inherit_attributes_from ValueMatcherSchema

      attribute :transforms, ValueOrArraySchema[TransformSchema]
      inherit_attributes_from TransformSchema, require_group: nil

      self.or_value_schema = ScalarArgumentSchema
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leftovers-0.8.0 lib/leftovers/config_loader/value_processor_schema.rb