Module: Sequel::Plugins::ForceEncoding::ClassMethods

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) forced_encoding

Returns the value of attribute forced_encoding



33
34
35
# File 'lib/sequel/plugins/force_encoding.rb', line 33

def forced_encoding
  @forced_encoding
end

Instance Method Details

- (Object) call(values)



37
38
39
40
41
# File 'lib/sequel/plugins/force_encoding.rb', line 37

def call(values)
  o = super
  o.send(:force_hash_encoding, o.values)
  o
end