summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/context/section.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/rdoc/context/section.rb b/lib/rdoc/context/section.rb
index 11f9ceaf87..5fef4a9ffc 100644
--- a/lib/rdoc/context/section.rb
+++ b/lib/rdoc/context/section.rb
@@ -34,8 +34,6 @@ class RDoc::Context::Section
attr_reader :title
- @@sequence = "SEC00000"
-
##
# Creates a new section with +title+ and +comment+
@@ -43,9 +41,6 @@ class RDoc::Context::Section
@parent = parent
@title = title ? title.strip : title
- @@sequence = @@sequence.succ
- @sequence = @@sequence.dup
-
@comments = []
add_comment comment
@@ -233,13 +228,5 @@ class RDoc::Context::Section
end
end
- ##
- # Section sequence number (deprecated)
-
- def sequence
- warn "RDoc::Context::Section#sequence is deprecated, use #aref"
- @sequence
- end
-
end