Sha256: 3363429108197cd10d3d53671218d59db5cb416babbc6e4f26b4af9f45b07951

Contents?: true

Size: 576 Bytes

Versions: 8

Compression:

Stored size: 576 Bytes

Contents

module ActiveMocker
module Mock
  module TemplateMethods

    def self.included(base)
      base.extend(ClassMethods)
    end

    module ClassMethods

      def attributes
        raise Mock::Unimplemented
      end

      def types
        raise Mock::Unimplemented
      end

      def associations
        raise Mock::Unimplemented
      end

      def mocked_class
        raise Mock::Unimplemented
      end

      def attribute_names
        raise Mock::Unimplemented
      end

      def primary_key
        raise Mock::Unimplemented
      end

    end

  end
end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
active_mocker-1.6.4 lib/active_mocker/mock/template_methods.rb
active_mocker-1.6.3 lib/active_mocker/mock/template_methods.rb
active_mocker-1.6.2 lib/active_mocker/mock/template_methods.rb
active_mocker-1.6.1 lib/active_mocker/mock/template_methods.rb
active_mocker-1.6 lib/active_mocker/mock/template_methods.rb
active_mocker-1.5.2 lib/active_mocker/mock/template_methods.rb
active_mocker-1.5.1 lib/active_mocker/mock/template_methods.rb
active_mocker-1.5 lib/active_mocker/mock/template_methods.rb