Class: Masking::Config::TargetColumns::Method::Binary

Inherits:
Object
  • Object
show all
Defined in:
lib/masking/config/target_columns/method/binary.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Binary

Returns a new instance of Binary.



8
9
10
# File 'lib/masking/config/target_columns/method/binary.rb', line 8

def initialize(value)
  @binary = value
end

Instance Method Details

#callObject



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

def call
  "_binary '#{binary}'".b
end