Class: Rex::Transformer
- Inherits:
-
Object
- Object
- Rex::Transformer
- Defined in:
- lib/rex/transformer.rb
Overview
Transformer - more than meets the eye!
This class, aside from having a kickass name, is responsible for translating object instances of one or more types into a single list instance of one or more types. This is useful for translating object instances that be can either strings or an array of strings into an array of strings, for instance. It lets you make things take a uniform structure in an abstract manner.