Sha256: 711671ed11fac0456499260a3150cbe4eae0c2e6a5bfeece26ec5d85ee03510c

Contents?: true

Size: 258 Bytes

Versions: 29

Compression:

Stored size: 258 Bytes

Contents

# frozen_string_literal: true

class Shape
  include Mongoid::Document
  field :x, type: Integer, default: 0
  field :y, type: Integer, default: 0

  embedded_in :canvas

  def render; end
end

require "support/models/circle"
require "support/models/square"

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
mongoid-8.0.10 spec/support/models/shape.rb
mongoid-8.1.10 spec/support/models/shape.rb
mongoid-8.1.9 spec/support/models/shape.rb
mongoid-8.0.9 spec/support/models/shape.rb
mongoid-8.1.8 spec/support/models/shape.rb
mongoid-8.1.7 spec/support/models/shape.rb
mongoid-8.1.6 spec/support/models/shape.rb
mongoid-8.0.8 spec/support/models/shape.rb
mongoid-8.1.5 spec/support/models/shape.rb
mongoid-8.1.4 spec/support/models/shape.rb
mongoid-8.0.7 spec/support/models/shape.rb
mongoid-8.1.3 spec/support/models/shape.rb
mongoid-8.1.2 spec/support/models/shape.rb
mongoid-8.0.6 spec/support/models/shape.rb
mongoid-7.5.4 spec/support/models/shape.rb
mongoid-8.1.1 spec/support/models/shape.rb
mongoid-8.0.5 spec/support/models/shape.rb
mongoid-8.1.0 spec/support/models/shape.rb
mongoid-7.5.3 spec/support/models/shape.rb
mongoid-8.0.4 spec/support/models/shape.rb