Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
settings / lib / settings / data_source / hash.rb
Size: Mime:
class Settings
  class DataSource
    class Hash < DataSource
      def self.logger
        @logger ||= Log.get(self)
      end

      def self.build(source)
        new(source)
      end

      def get_data
        logger.trace { "Converting the raw source data to Confstruct" }
        Confstruct::Configuration.new(source).tap do |instance|
          logger.debug { "Converted the raw source data to Confstruct" }
        end
      end
    end
  end
end