Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions lib/rdoc/parser/ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
#
# == Hidden methods and attributes
#
# You can provide documentation for methods that don't appear using
# the :method:, :singleton-method: and :attr: directives:
# You can provide documentation for methods that don't appear in the code
# using the :method:, :singleton-method: and :attr: directives:
#
# ##
# # :attr_writer: ghost_writer
Expand All @@ -148,8 +148,13 @@
# def regular_method() end
#
# Note that by default, the :method: directive will be ignored if there is a
# standard rdocable item following it.

# standard rdocable item following it:
#
# ##
# # :method: ghost_method
# # ghost_method will be ignored.
#
# def standard_rdocable_method() end
class RDoc::Parser::Ruby < RDoc::Parser

parse_files_matching(/\.rbw?$/)
Expand Down