class AttrValidator::I18n

Public Class Methods

t(message, options = {}) click to toggle source

Translates message to specific language

# File lib/attr_validator/i18n.rb, line 4
def self.t(message, options = {})
  I18n.t("attr_validator.#{message}", options)
end