# File lib/xdg/base_dir/legacy.rb, line 35
      def config
        obj = XDG['CONFIG']
        class << obj
          def home
            XDG['CONFIG_HOME'].to_a.first
          end
          def dirs
            XDG['CONFIG_DIRS'].to_a
          end
          def work
            XDG['CONFIG_WORK'].to_a
          end
        end
        return obj
      end