Class: Masking::SQLDumpLine

Inherits:
Object
  • Object
show all
Defined in:
lib/masking/sql_dump_line.rb

Instance Method Summary collapse

Constructor Details

#initialize(line) ⇒ SQLDumpLine

Returns a new instance of SQLDumpLine.



7
8
9
# File 'lib/masking/sql_dump_line.rb', line 7

def initialize(line)
  @line = line
end

Instance Method Details

#outputObject



11
12
13
# File 'lib/masking/sql_dump_line.rb', line 11

def output
  insert_statement? ? DataMaskProcessor.process(line) : line
end