Module: Mobility::Sequel

Defined in:
lib/mobility/sequel.rb,
lib/mobility/sequel/translation.rb,
lib/mobility/sequel/column_changes.rb,
lib/mobility/sequel/backend_resetter.rb,
lib/mobility/sequel/text_translation.rb,
lib/mobility/sequel/model_translation.rb,
lib/mobility/sequel/string_translation.rb

Overview

Module loading Sequel-specific classes for Mobility models.

Defined Under Namespace

Modules: ClassMethods, ModelTranslation, Translation Classes: BackendResetter, ColumnChanges, StringTranslation, TextTranslation

Class Method Summary collapse

Class Method Details

.included(model_class) ⇒ Object



15
16
17
# File 'lib/mobility/sequel.rb', line 15

def self.included(model_class)
  model_class.extend(ClassMethods)
end