- def run(plugin, src, dst)
- # Why think too hard? An user has an @, a domain doesn't.
- if not src.include?('@') then
- # We only support moving users right now, and the destination
- # domain must already exist.
- raise NotImplementedError.new('Only users can be moved.')
- end
+ # Run *plugin* to move the user *src* to *dst*. The method
+ # signature includes the unused *cfg* for consistency with the
+ # runners that do need a {Configuration}.
+ #
+ # @param cfg [Configuration] unused.
+ #
+ # @param plugin [Class] plugin class that will perform the move.
+ #
+ # @param src [User] the source user to be moved.
+ #
+ # @param dst [User] the destination user being moved to.
+ #
+ def run(cfg, plugin, src, dst)