Skip to content

Commit 22735a7

Browse files
authored
Remove unused attributes (#1292)
I think these attribute declarations are not necessary. Please review by commits.
1 parent a253a8d commit 22735a7

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

lib/rdoc/code_object/any_method.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ class RDoc::AnyMethod < RDoc::MethodAttr
2929
# The section title of the method (if defined in a C file via +:category:+)
3030
attr_accessor :section_title
3131

32-
# Parameters for this method
33-
34-
attr_accessor :params
35-
3632
##
3733
# If true this method uses +super+ to call a superclass version
3834

lib/rdoc/code_object/method_attr.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ class RDoc::MethodAttr < RDoc::CodeObject
6363

6464
attr_reader :arglists
6565

66-
##
67-
# Pretty parameter list for this method
68-
69-
attr_reader :param_seq
70-
71-
7266
##
7367
# Creates a new MethodAttr from token stream +text+ and method or attribute
7468
# name +name+.
@@ -91,7 +85,6 @@ def initialize text, name
9185
@arglists = nil
9286
@block_params = nil
9387
@call_seq = nil
94-
@param_seq = nil
9588
@params = nil
9689
end
9790

0 commit comments

Comments
 (0)