Module: Sequel::Plugins::ForceEncoding

Defined in:
lib/sequel/plugins/force_encoding.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.configure(model, encoding = nil) ⇒ Object



27
28
29
# File 'lib/sequel/plugins/force_encoding.rb', line 27

def self.configure(model, encoding=nil)
  model.forced_encoding = encoding
end