Sha256: 30f6374a41772de84cdc370b785af8206aea9411b22e38cef833088cda0b4968

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 Bytes

Contents

module Backup
  module Configuration
    class Adapter
      extend Backup::Configuration::Attributes
      generate_attributes %w(files exclude user password database 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

2 entries across 2 versions & 1 rubygems

Version Path
backup-gundua-2.3.1.2 lib/backup/configuration/adapter.rb
backup-gundua-2.3.1.1 lib/backup/configuration/adapter.rb