class Masking::Config::TargetColumns::Column
Attributes
method[R]
method_value[R]
name[R]
table_name[R]
Public Class Methods
new(name, table_name:, method_value:)
click to toggle source
# File lib/masking/config/target_columns/column.rb, line 11 def initialize(name, table_name:, method_value:) raise ColumnNameIsNil if name.nil? @name = name.to_sym @table_name = table_name.to_sym @method_value = method_value @method = Method.new(method_value) end
Public Instance Methods
==(other)
click to toggle source
# File lib/masking/config/target_columns/column.rb, line 20 def ==(other) name == other.name && table_name == other.table_name && method_value == other.method_value end