Sha256: ebf3055b581ee09c726046919223fbc83edf485387bc631e0618dd15ff136dc8

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Hanami
  # @api private
  module Providers
    # Provider source to register inflector component in Hanami slices.
    #
    # @api private
    # @since 2.0.0
    class Inflector < Hanami::Provider::Source
      # @api private
      def start
        register :inflector, Hanami.app.inflector
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hanami-2.2.1 lib/hanami/providers/inflector.rb
hanami-2.2.0 lib/hanami/providers/inflector.rb
hanami-2.2.0.rc1 lib/hanami/providers/inflector.rb
hanami-2.2.0.beta2 lib/hanami/providers/inflector.rb