diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-01-29 22:01:31 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-06 16:12:24 -0600 |
commit | 3aa1264dc6c0de3625bb1a2d6a0ee90140a2f519 (patch) | |
tree | 73b450be24d8ea336adedca5dc2ed2edd02474c6 /lib | |
parent | 8f85a11d9fcc1f4ccde7c46652f0be00edf46a78 (diff) | |
download | gitlab-ce-3aa1264dc6c0de3625bb1a2d6a0ee90140a2f519.tar.gz |
Add tests
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/route_map.rb | 2 |
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) |