Sha256: 0f8f425112088fde5300a164e75f955ba89e2ae6d6a7329c1f25400da8c0cb11
Contents?: true
Size: 1.39 KB
Versions: 5
Compression:
Stored size: 1.39 KB
Contents
# frozen_string_literal: true ## # Usage example: # # result = ConvenientService::Examples::Dry::Gemfile.format(path: "Gemfile") # result = ConvenientService::Examples::Dry::Gemfile.format(path: "spec/cli/gemfile/format/fixtures/Gemfile") # module ConvenientService module Examples module Dry class Gemfile class DryService module Config include Support::Concern included do include ConvenientService::Standard::Config ## # NOTE: `AssignsAttributesInConstructor::UsingDryInitializer` plugin. # concerns do use ConvenientService::Plugins::Common::AssignsAttributesInConstructor::UsingDryInitializer::Concern end ## # NOTE: `HasJSendResultParamsValidations::UsingDryValidation` plugin. # concerns do use ConvenientService::Plugins::Service::HasJSendResultParamsValidations::UsingDryValidation::Concern end middlewares :result do insert_before \ ConvenientService::Plugins::Service::RaisesOnNotResultReturnValue::Middleware, ConvenientService::Plugins::Service::HasJSendResultParamsValidations::UsingDryValidation::Middleware end end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems