Sha256: 355ef13692fdd9e680a3e1b53e3d60fcdeb19c49fe87ba060a1a2536b9cb2d99

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

module Motr
  module Schema
    
    ##
    # Stubs schema methods to ensure ORM's implement them
    # @private
    # 
    module Base #:nodoc:
      
      def motrize_schema!
        Motr::Schema::Generator.set_target(self)        
      end
            
      def apply_motr_schema(name, type, options={})
        raise NotImplementedError
      end
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motr-0.0.5 lib/motr/schema/base.rb