Sha256: d3857e6903dc03dd568f613565fb89cf770aa871b778876a5e4fb8f32b4ca5c9

Contents?: true

Size: 1.28 KB

Versions: 18

Compression:

Stored size: 1.28 KB

Contents

# frozen_string_literal: true

require 'i18n/tasks/command_error'
require 'i18n/tasks/split_key'
require 'i18n/tasks/key_pattern_matching'
require 'i18n/tasks/logging'
require 'i18n/tasks/plural_keys'
require 'i18n/tasks/references'
require 'i18n/tasks/html_keys'
require 'i18n/tasks/used_keys'
require 'i18n/tasks/ignore_keys'
require 'i18n/tasks/missing_keys'
require 'i18n/tasks/interpolations'
require 'i18n/tasks/unused_keys'
require 'i18n/tasks/translation'
require 'i18n/tasks/locale_pathname'
require 'i18n/tasks/locale_list'
require 'i18n/tasks/string_interpolation'
require 'i18n/tasks/data'
require 'i18n/tasks/configuration'
require 'i18n/tasks/stats'

module I18n
  module Tasks
    class BaseTask
      include SplitKey
      include KeyPatternMatching
      include PluralKeys
      include References
      include HtmlKeys
      include UsedKeys
      include IgnoreKeys
      include MissingKeys
      include Interpolations
      include UnusedKeys
      include Translation
      include Logging
      include Configuration
      include Data
      include Stats

      def initialize(config_file: nil, **config)
        @config_override = config_file
        self.config = config || {}
      end

      def inspect
        "#{self.class.name}#{config_for_inspect}"
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/i18n-tasks-1.0.14/lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.13 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.12 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.11 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.10 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.9 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.8 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.7 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.6 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.5 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.4 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.3 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.2 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.1 lib/i18n/tasks/base_task.rb
i18n-tasks-1.0.0 lib/i18n/tasks/base_task.rb
i18n-youdao-tasks-0.9.37 lib/i18n/tasks/base_task.rb
i18n-tasks-0.9.37 lib/i18n/tasks/base_task.rb
i18n-tasks-0.9.36 lib/i18n/tasks/base_task.rb