Sha256: 94dba2d7b925cefc6b1f6ede220fd849ff7ede0ffe296e2af391d295dce87e5d

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

module MonkeyButler
  module Databases
    class AbstractDatabase
      class << self
        def migration_ext
          raise NotImplementedError, "Required method not implemented."
        end
      end

      def migrations_table?
        raise NotImplementedError, "Required method not implemented."
      end

      def origin_version
        raise NotImplementedError, "Required method not implemented."
      end

      def current_version
        raise NotImplementedError, "Required method not implemented."
      end

      def all_versions
        raise NotImplementedError, "Required method not implemented."
      end

      def insert_version(version)
        raise NotImplementedError, "Required method not implemented."
      end

      def execute_migration(content)
        raise NotImplementedError, "Required method not implemented."
      end

      def drop
        raise NotImplementedError, "Required method not implemented."
      end

      attr_reader :url

      def initialize(url)
        @url = url
      end

      def to_s
        url.to_s
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
monkey_butler-1.2.2 lib/monkey_butler/databases/abstract_database.rb