Class: Masking::SQLDumpLine
- Inherits:
-
Object
- Object
- Masking::SQLDumpLine
- Defined in:
- lib/masking/sql_dump_line.rb
Instance Method Summary collapse
-
#initialize(line) ⇒ SQLDumpLine
constructor
A new instance of SQLDumpLine.
- #output ⇒ Object
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
#output ⇒ Object
11 12 13 |
# File 'lib/masking/sql_dump_line.rb', line 11 def output insert_statement? ? DataMaskProcessor.process(line) : line end |