use class side instance variable

pull/2550/head
Jan Sandbrink 10 years ago
parent 2e32e120f7
commit 937fa2fba7
  1. 2
      lib/api/utilities/resource_link_parser.rb

@ -75,7 +75,7 @@ module API
private
def resource_matcher
@@matcher ||= Regexp.compile(RESOURCE_REGEX)
@matcher ||= Regexp.compile(RESOURCE_REGEX)
end
# returns whether expectation and actual are identical

Loading…
Cancel
Save