def settings(&block)
      @settings ||= setup

      settings = instance_variable_defined?(:@namespace) ? @settings.get_value(@namespace) : @settings

      if block_given?
        block.arity == 0 ? settings.instance_eval(&block) : block.call(settings)
      end

      settings
    end
def settings(&block)
      @settings ||= setup

      settings = instance_variable_defined?(:@namespace) ? @settings.get_value(@namespace) : @settings

      if block_given?
        block.arity == 0 ? settings.instance_eval(&block) : block.call(settings)
      end

      settings
    end
Loaded configuration stored in Settings class.
 Accepts +block+ as parameter.

 == Examples
   settings do |settings|
     settings.a = 1
   end

   settings do
     a 1
   end

   settings.a = 1