Update transformator.rb

Remove repetitive code when all accounts are ON