Sha256: f0e0a12fa9e42903eb683383f564b8e7521f2884c37934042871f92116fb6dbe

Contents?: true

Size: 843 Bytes

Versions: 1

Compression:

Stored size: 843 Bytes

Contents

module DataMagic
  module Config

    class << self
      attr_accessor :data_magic_yml_directory

      #
      # retrieve the yml_directory - the location where all of the yml
      # files will be located.
      #
      def yml_directory
        $stderr.puts "*** DEPRECATION WARNING"
        $stderr.puts "*** DataMagic::Config has being deprecated and will be removed soon."
        $stderr.puts "*** Please use DataMagic.yml_directory."
      end

      #
      # set the yml_directory - this is where the gem will look for
      # all of the yml files.
      #
      def yml_directory=(value)
        $stderr.puts "*** DEPRECATION WARNING"
        $stderr.puts "*** DataMagic::Config has being deprecated and will be removed soon."
        $stderr.puts "*** Please use DataMagic.yml_directory=."
      end
      
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
data_magic-0.6 lib/data_magic/config.rb