Class: Anon::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/anon/base.rb

Overview

Anonymiser base class anonymiser implimentations should inherit from

Direct Known Subclasses

CSV, Text

Class Method Summary collapse

Class Method Details

.anonymise!(input, output, *args) ⇒ Object

Performs anonymisation

Parameters:

  • input (IO, gets)

    the input stream

  • output (IO, puts)

    the output stream

  • args (*)

    class specific options



13
14
15
# File 'lib/anon/base.rb', line 13

def self.anonymise!(input, output, *args)
  new(input, output, *args).anonymise!
end