We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40204d2 commit 1e8b035Copy full SHA for 1e8b035
lib/yard/handlers/ruby/visibility_handler.rb
@@ -14,7 +14,7 @@ class YARD::Handlers::Ruby::VisibilityHandler < YARD::Handlers::Ruby::Base
14
when :var_ref, :vcall
15
self.visibility = ident.first.to_sym
16
when :command
17
- if RUBY_VERSION >= '3.' && is_attribute_method?(statement.parameters.first)
+ if is_attribute_method?(statement.parameters.first)
18
parse_block(statement.parameters.first, visibility: ident.first.to_sym)
19
return
20
end
0 commit comments