Class: Masking::Config::TargetColumns::Method::String

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

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ String

Returns a new instance of String.



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

def initialize(value)
  @string   = value
  @sequence = 0
end

Instance Method Details

#callObject



13
14
15
# File 'lib/masking/config/target_columns/method/string.rb', line 13

def call
  ("'" + output + "'").b
end