Sha256: 8881ee95b120739175cb41e4f3d5be270ee3e9ad7aebec5a0e4211cef1380396

Contents?: true

Size: 145 Bytes

Versions: 14

Compression:

Stored size: 145 Bytes

Contents

class GenderType < AbAdmin::Models::TypeModel
  self.codes = [:male, :female]
  self.i18n_scope = [:admin, :gender]

  define_enum_by_codes

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ab_admin-0.3.6 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.3.5 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.3.4 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.3.3 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.3.2 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.3.1 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.3.0 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.2.3 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.2.2 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.2.1 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.2.0 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.1.2 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.1.1 lib/generators/ab_admin/install/templates/models/gender_type.rb
ab_admin-0.1.0 lib/generators/ab_admin/install/templates/models/gender_type.rb