Sha256: 9e07a6a01fefd340851efdd127353f93f90f342af7548541d984e600f2792331

Contents?: true

Size: 459 Bytes

Versions: 9

Compression:

Stored size: 459 Bytes

Contents

module Backup
  module Configuration
    class Adapter
      extend Backup::Configuration::Attributes
      generate_attributes %w(files exclude user password database tables skip_tables commands additional_options)

      def initialize
        @options = Backup::Configuration::AdapterOptions.new
      end

      def options(&block)
        @options.instance_eval &block
      end
      
      def get_options
        @options
      end

    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
dmitryv-backup-2.4.0 lib/backup/configuration/adapter.rb
backup-2.4.0 lib/backup/configuration/adapter.rb
backup-2.3.3.1 lib/backup/configuration/adapter.rb
backup-2.3.3 lib/backup/configuration/adapter.rb
backup-2.3.2 lib/backup/configuration/adapter.rb
backup-2.3.2.pre3 lib/backup/configuration/adapter.rb
backup-2.3.2.pre2 lib/backup/configuration/adapter.rb
backup-2.3.2.pre lib/backup/configuration/adapter.rb
backup-wakiki-2.4.1 lib/backup/configuration/adapter.rb