class PgShrink::TableSanitizer
Attributes
table[RW]
Public Class Methods
new(table, opts, &block)
click to toggle source
# File lib/pg_shrink/table_sanitizer.rb, line 4 def initialize(table, opts, &block) self.table = table @opts = opts # Currently not used, but who knows @block = block end
Public Instance Methods
apply(hash)
click to toggle source
# File lib/pg_shrink/table_sanitizer.rb, line 10 def apply(hash) @block.call(hash) end