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

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/masking/config/target_columns/method.rb,
lib/masking/config/target_columns/method/date.rb,
lib/masking/config/target_columns/method/null.rb,
lib/masking/config/target_columns/method/time.rb,
lib/masking/config/target_columns/method/float.rb,
lib/masking/config/target_columns/method/binary.rb,
lib/masking/config/target_columns/method/string.rb,
lib/masking/config/target_columns/method/boolean.rb,
lib/masking/config/target_columns/method/integer.rb,
lib/masking/config/target_columns/method/string_binary_distinctor.rb

Defined Under Namespace

Modules: StringBinaryDistinctor Classes: Binary, Boolean, Date, Float, Integer, Null, String, Time, UnknownType

Instance Method Summary collapse

Constructor Details

#initialize(method) ⇒ Method

Returns a new instance of Method.



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

def initialize(method)
  @method_type = mapping(method.class).new(method)
end