method

new

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Data
new(value) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/type/binary.rb, line 41
        def initialize(value)
          value = value.to_s
          value = value.b unless value.encoding == Encoding::BINARY
          @value = value
        end
Register or log in to add new notes.