stmichael / data-import

sequel based dsl to migrate data from a legacy database to a new home.
MIT License
42 stars 9 forks source link

methods to obtains row values inside mapping blocks #29

Closed stmichael closed 12 years ago

stmichael commented 12 years ago

Inside a mapping block you had access to the complete row instead of just the ones provided as parameters. This implementation provides a method called 'arguments' which is a hash holding just the values you specified in the mapping block.