Sha256: 0105b7f51cb043c2e4dd46665be3167326a5d64b2fdb018ac0dfaadbfc77a199

Contents?: true

Size: 527 Bytes

Versions: 5

Compression:

Stored size: 527 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
        @data_magic_yml_directory ||= 'config'
      end

      #
      # set the yml_directory - this is where the gem will look for
      # all of the yml files.
      #
      def yml_directory=(value)
        @data_magic_yml_directory = value
      end
      
    end
    
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
data_magic-0.5 lib/data_magic/config.rb
data_magic-0.4 lib/data_magic/config.rb
data_magic-0.3 lib/data_magic/config.rb
data_magic-0.2 lib/data_magic/config.rb
data_magic-0.1 lib/data_magic/config.rb