Class: Masking::Config::TargetColumns::Method::String
- Inherits:
-
Object
- Object
- Masking::Config::TargetColumns::Method::String
- Defined in:
- lib/masking/config/target_columns/method/string.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(value) ⇒ String
constructor
A new instance of String.
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
#call ⇒ Object
13 14 15 |
# File 'lib/masking/config/target_columns/method/string.rb', line 13 def call ("'" + output + "'").b end |