Class: ActiveRecord::Base

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

Class Method Summary collapse

Class Method Details

.stores_emoji_characters(options = {}) ⇒ Object



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

def self.stores_emoji_characters(options = {})
  return unless table_exists?

  options[:in] ||= []
  Emojimmy::Mixin.inject_methods(self, options[:in])
end