"Place the annotations at the top (before) or the bottom (after) of the serializer files")do|p|
ENV['position_in_serializer']=p
has_set_position['position_in_serializer']=true
end
opts.on('-r','--routes',
"Annotate routes.rb with the output of 'rake routes'")do
target={
...
...
@@ -124,7 +130,7 @@ OptionParser.new do |opts|
end
end
opts.on('-e','--exclude [tests,fixtures,factories]',Array,"Do not annotate fixtures, test files, and/or factories")do|exclusions|
opts.on('-e','--exclude [tests,fixtures,factories,serializers]',Array,"Do not annotate fixtures, test files, factories, and/or serializers")do|exclusions|