Module Core::Config::ParserInterface
In: core/config.rb

The ParserInterface should be implemented by all the different configuration parsers (xml, yaml, etc.). Dradis and it‘s modules will only access methods defined in this interface

Methods

get_option   put_option   save  

Public Instance methods

Given an option name (as a symbol) this function retrieves the value stored in the configuration file for it.

[Source]

# File core/config.rb, line 36
      def get_option(key)  
        raise 'unimplemented!'
      end

Store the given value under the key in the config provider.

[Source]

# File core/config.rb, line 41
      def put_option(key, value)
        raise 'unimplemented!'
      end

Store the configuration settings in the backend provider.

[Source]

# File core/config.rb, line 46
      def save
        raise 'unimplemented!'
      end

[Validate]