Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/emojimmy/extensions.rb

Class Method Summary collapse

Class Method Details

.stores_emoji_characters(*attributes) ⇒ Object



2
3
4
5
6
# File 'lib/emojimmy/extensions.rb', line 2

def self.stores_emoji_characters(*attributes)
  return unless table_exists?

  Emojimmy::Mixin.inject_methods(self, attributes)
end