Module: Masking::Config::TargetColumns::Method::StringBinaryDistinctor

Defined in:
lib/masking/config/target_columns/method/string_binary_distinctor.rb

Class Method Summary collapse

Class Method Details

.new(value) ⇒ Object



12
13
14
# File 'lib/masking/config/target_columns/method/string_binary_distinctor.rb', line 12

def new(value)
  binary?(value) ? Binary.new(value) : String.new(value)
end