Class: Wicked::Pipeline::Engine

Inherits:
Rails::Engine
  • Object
show all
Defined in:
lib/wicked/pipeline/engine.rb

Class Method Summary collapse

Class Method Details

.i18n_scopeObject



10
11
12
# File 'lib/wicked/pipeline/engine.rb', line 10

def self.i18n_scope
  @i18n_scope ||= name.split("::").tap(&:pop).map(&:underscore).join(".")
end