Sha256: fd1c833031afc03ab52c45715e23ff3757efadece9cf04ff19c499280d86b726

Contents?: true

Size: 252 Bytes

Versions: 108

Compression:

Stored size: 252 Bytes

Contents

class PositionType < Sunrise::Models::PositionType
  define_enum do |builder|
    builder.member :default,  :object => new("default")
    builder.member :menu,     :object => new("menu")
    builder.member :bottom,   :object => new("bottom")
  end
end

Version data entries

108 entries across 54 versions & 5 rubygems

Version Path
sunrise-cms-1.0.6 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.6 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.5 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.5 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.4 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.4 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.3 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.3 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.2 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.2 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.1 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.1 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.0 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.0 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.0.rc3 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.0.rc3 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.0.rc2 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.0.rc2 lib/generators/sunrise/templates/models/mongoid/position_type.rb
sunrise-cms-1.0.0.rc1 lib/generators/sunrise/templates/models/active_record/position_type.rb
sunrise-cms-1.0.0.rc1 lib/generators/sunrise/templates/models/mongoid/position_type.rb