Sha256: f6ddaf016d94308b12734230a64da343f7f76ae22ba3e04815efb3867cb521fb

Contents?: true

Size: 1016 Bytes

Versions: 4

Compression:

Stored size: 1016 Bytes

Contents

# coding: utf-8
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/used_keys'
require 'i18n/tasks/ignore_keys'
require 'i18n/tasks/missing_keys'
require 'i18n/tasks/unused_keys'
require 'i18n/tasks/google_translation'
require 'i18n/tasks/fill_tasks'
require 'i18n/tasks/locale_pathname'
require 'i18n/tasks/data'
require 'i18n/tasks/configuration'

module I18n
  module Tasks
    class BaseTask
      include SplitKey
      include KeyPatternMatching
      include PluralKeys
      include UsedKeys
      include IgnoreKeys
      include MissingKeys
      include UnusedKeys
      include FillTasks
      include GoogleTranslation
      include Logging
      include Configuration
      include Data

      def initialize(config = {})
        self.config = config || {}
      end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
i18n-tasks-0.6.3 lib/i18n/tasks/base_task.rb
i18n-tasks-0.6.2 lib/i18n/tasks/base_task.rb
i18n-tasks-0.6.1 lib/i18n/tasks/base_task.rb
i18n-tasks-0.6.0 lib/i18n/tasks/base_task.rb