Module: I18nliner::Processors

Defined in:
lib/i18nliner/processors.rb,
lib/i18nliner/processors/erb_processor.rb,
lib/i18nliner/processors/ruby_processor.rb,
lib/i18nliner/processors/abstract_processor.rb

Defined Under Namespace

Classes: AbstractProcessor, ErbProcessor, RubyProcessor

Class Method Summary collapse

Class Method Details

.allObject


7
8
9
# File 'lib/i18nliner/processors.rb', line 7

def self.all
  @processors.dup
end

.register(klass) ⇒ Object


3
4
5
# File 'lib/i18nliner/processors.rb', line 3

def self.register(klass)
  (@processors ||= []) << klass
end