module Translateable

Constants

VERSION

Public Class Methods

included(base) click to toggle source
# File lib/translateable.rb, line 4
def self.included(base)
  base.extend ClassMethods
end
translateable_attribute_by_name(attr) click to toggle source
# File lib/translateable.rb, line 8
def self.translateable_attribute_by_name(attr)
  "#{attr}_translateable"
end