Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfairh committed Jun 9, 2023
1 parent 0533c74 commit 2211f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jazzy/source_declaration/access_control_level.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def self.from_human_string(string)
# From a @_documentation(visibility:) attribute
def self.from_documentation_attribute(doc)
if doc['key.annotated_decl'] =~ /@_documentation\(\s*visibility\s*:\s*(\w+)/
return from_human_string(Regexp.last_match[1])
from_human_string(Regexp.last_match[1])
end
end

Expand Down

0 comments on commit 2211f79

Please sign in to comment.