Class: YARD::Handlers::Ruby::VisibilityHandler
- Includes:
- DecoratorHandlerMethods
- Defined in:
- lib/yard/handlers/ruby/visibility_handler.rb
Overview
Handles 'private', 'protected', and 'public' calls.
Instance Method Summary collapse
Methods included from DecoratorHandlerMethods
Methods included from Parser::Ruby
Instance Method Details
#is_attribute_method?(node) ⇒ Boolean
32 33 34 |
# File 'lib/yard/handlers/ruby/visibility_handler.rb', line 32 def is_attribute_method?(node) node.type == :command && node.jump(:ident).first.to_s =~ /^attr_(accessor|writer|reader)$/ end |