Sha256: 42519cc743ef14e3aef5b7c3da669b16a1b9e84d3558236f65f21f4707da175e

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

require 'i18n/tasks/scanners/results/key_occurrences'

module I18n::Tasks::Scanners
  # Describes the API of a scanner.
  #
  # @abstract
  # @since 0.9.0
  class Scanner
    # @abstract
    # @return [Array<Results::KeyOccurrences>] the keys found by this scanner and their occurrences.
    def keys
      fail 'Unimplemented'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
i18n-tasks-0.9.2 lib/i18n/tasks/scanners/scanner.rb
i18n-tasks-0.9.1 lib/i18n/tasks/scanners/scanner.rb
i18n-tasks-0.9.0 lib/i18n/tasks/scanners/scanner.rb
i18n-tasks-0.9.0.rc2 lib/i18n/tasks/scanners/scanner.rb