summaryrefslogtreecommitdiff
path: root/lib/rdoc/any_method.rb
diff options
context:
space:
mode:
authorMike Dalessio <[email protected]>2021-10-11 13:44:37 -0400
committergit <[email protected]>2021-10-16 01:39:36 +0900
commit7aec65add42d20ba8d70ad33c7b1e8978007e29e (patch)
treeaf38792b70ba5e7f217c56cf10847b3005df0252 /lib/rdoc/any_method.rb
parentc322069a670a1ea2077429d9e7146e93e8e92eae (diff)
[ruby/rdoc] feat: add support for :category: on C functions
https://github.com/ruby/rdoc/commit/45c92005fe
Diffstat (limited to 'lib/rdoc/any_method.rb')
-rw-r--r--lib/rdoc/any_method.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rdoc/any_method.rb b/lib/rdoc/any_method.rb
index 562e68461c..3d0b60790d 100644
--- a/lib/rdoc/any_method.rb
+++ b/lib/rdoc/any_method.rb
@@ -26,6 +26,9 @@ class RDoc::AnyMethod < RDoc::MethodAttr
attr_accessor :c_function
+ # The section title of the method (if defined in a C file via +:category:+)
+ attr_accessor :section_title
+
# Parameters for this method
attr_accessor :params