Class: I18n::Tasks::Scanners::PrismScanner

Inherits:
RubyScanner show all
Defined in:
lib/i18n/tasks/scanners/ruby_scanner.rb

Constant Summary

Constants inherited from RubyScanner

RubyScanner::MAGIC_COMMENT_PREFIX, RubyScanner::MAGIC_COMMENT_SKIP_PRISM

Constants included from Logging

Logging::MUTEX, Logging::PROGRAM_NAME

Instance Attribute Summary

Attributes inherited from FileScanner

#config

Instance Method Summary collapse

Methods included from Logging

log_error, log_stderr, log_verbose, log_warn, program_name, warn_deprecated

Methods included from RelativeKeys

#absolute_key

Methods inherited from FileScanner

#keys

Methods inherited from Scanner

#keys

Constructor Details

#initialize(**args) ⇒ PrismScanner

Returns a new instance of PrismScanner.



220
221
222
223
# File 'lib/i18n/tasks/scanners/ruby_scanner.rb', line 220

def initialize(**args)
  warn_deprecated('PrismScanner is deprecated, use RubyScanner with prism: "rails" or prism: "ruby" instead')
  super
end