Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-01-30 07:01:31 +0300
committerDouwe Maan <douwe@selenight.nl>2017-02-07 01:12:24 +0300
commit3aa1264dc6c0de3625bb1a2d6a0ee90140a2f519 (patch)
tree73b450be24d8ea336adedca5dc2ed2edd02474c6 /lib
parent8f85a11d9fcc1f4ccde7c46652f0be00edf46a78 (diff)
Add tests
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/route_map.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/route_map.rb b/lib/gitlab/route_map.rb
index 89985d90c10..b1a93d44a45 100644
--- a/lib/gitlab/route_map.rb
+++ b/lib/gitlab/route_map.rb
@@ -2,6 +2,8 @@ module Gitlab
class RouteMap
class FormatError < StandardError; end
+ attr_reader :map
+
def initialize(data)
begin
entries = YAML.safe_load(data)