module I18n::Processes
Constants
- VERSION
Attributes
verbose[W]
Public Class Methods
add_commands(commands_module)
click to toggle source
Add commands to i18n-processes
@param commands_module [Module] @return self
# File lib/i18n/processes.rb, line 33 def add_commands(commands_module) ::I18n::Processes::Commands.send :include, commands_module self end
add_scanner(scanner_class_name, scanner_opts = {})
click to toggle source
Add a scanner to the default configuration.
@param scanner_class_name [String] @param scanner_opts [Hash] @return self
# File lib/i18n/processes.rb, line 22 def add_scanner(scanner_class_name, scanner_opts = {}) scanners = I18n::Processes::Configuration::DEFAULTS[:search][:scanners] scanners << [scanner_class_name, scanner_opts] scanners.uniq! self end
gem_path()
click to toggle source
# File lib/i18n/processes.rb, line 7 def gem_path File.expand_path(File.join(File.dirname(__FILE__), '..', '..')) end
verbose?()
click to toggle source
# File lib/i18n/processes.rb, line 11 def verbose? @verbose end