Module: AwesomeTranslations::TranslateFunctionality

Defined in:
lib/awesome_translations/translate_functionality.rb

Overview

Include this module to get access to the t-method.

Defined Under Namespace

Modules: Methods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Implements the method on both class- and instance-level.



4
5
6
7
# File 'lib/awesome_translations/translate_functionality.rb', line 4

def self.included(base)
  base.__send__(:include, Methods)
  base.extend Methods
end