Sha256: 12706982058b7943af16c7fcdd4b33580285392a5fc57cfd2613a64e22c0c168

Contents?: true

Size: 366 Bytes

Versions: 10

Compression:

Stored size: 366 Bytes

Contents

# encoding: UTF-8

module Spontaneous::Model
  module Box
    autoload :AllowedTypes,     "spontaneous/model/box/allowed_types"

    extend Spontaneous::Concern

    module ClassMethods

      def inherited(subclass)
        subclass.instance_variable_set(:"@mapper", mapper)
        mapper.schema.inherited(self, subclass)
        super
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta9 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta8 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta7 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta6 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta5 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta4 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta3 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta2 lib/spontaneous/model/box.rb
spontaneous-0.2.0.beta1 lib/spontaneous/model/box.rb