annotate app/views/enumerations/index.api.rsb @ 1480:75fd8eace091 issue_556

Close obsolete branch issue_556
author Chris Cannam
date Sat, 13 Jul 2013 15:26:30 +0100
parents 433d4f72a19b
children
rev   line source
Chris@1115 1 api.array @klass.name.underscore.pluralize do
Chris@1115 2 @enumerations.each do |enumeration|
Chris@1115 3 api.__send__ @klass.name.underscore do
Chris@1115 4 api.id enumeration.id
Chris@1115 5 api.name enumeration.name
Chris@1115 6 api.is_default enumeration.is_default
Chris@1115 7 end
Chris@1115 8 end
Chris@1115 9 end