Class: Tabledata::ColumnDefinition::BinaryProcessor

Inherits:
Object
  • Object
show all
Defined in:
lib/tabledata/column_definition.rb

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ BinaryProcessor


171
172
# File 'lib/tabledata/column_definition.rb', line 171

def initialize(options)
end

Instance Method Details

#call(value, errors) ⇒ Object


173
174
175
# File 'lib/tabledata/column_definition.rb', line 173

def call(value, errors)
  value.dup.force_encoding(Encoding::BINARY)
end