Module: Netzke::Core::CoreI18n::ClassMethods

Defined in:
lib/netzke/core/core_i18n.rb

Instance Method Summary collapse

Instance Method Details

#i18n_idObject

The ID used to locate this component’s block in locale files



7
8
9
# File 'lib/netzke/core/core_i18n.rb', line 7

def i18n_id
  name.split("::").map{|c| c.underscore}.join(".")
end