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-0.4.0 spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.4.0 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-cms-0.3.3 spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.3.3 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-cms-0.3.2 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-cms-0.3.2 spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.3.1 spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.3.1 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-cms-0.3.0 spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.3.0 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-cms-0.3.0.rc2 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-cms-0.3.0.rc2 spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.3.0.rc spec/tmp/app/models/defaults/position_type.rb
sunrise-cms-0.3.0.rc lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-core-0.2.1 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-core-0.2.1 spec/tmp/app/models/defaults/position_type.rb
sunrise-widgets-0.1.1 spec/dummy/app/models/defaults/position_type.rb
sunrise-locales-0.1.0 spec/dummy/app/models/defaults/position_type.rb
sunrise-core-0.2.0 lib/generators/sunrise/templates/models/defaults/position_type.rb
sunrise-core-0.2.0 spec/tmp/app/models/defaults/position_type.rb