Class: RDoc::Markup::Rule
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Struct
|
|
Instance Chain:
self,
Struct
|
|
Inherits: |
Struct
|
Defined in: | lib/rdoc/markup/rule.rb |
Overview
A horizontal rule with a weight
Instance Attribute Summary
-
#weight
rw
A horizontal rule with a weight.
Instance Method Summary
-
#accept(visitor)
Calls
#accept_rule
onvisitor
- #pretty_print(q) Internal use only
Instance Attribute Details
#weight (rw)
A horizontal rule with a weight
Instance Method Details
#accept(visitor)
Calls #accept_rule
on visitor
# File 'lib/rdoc/markup/rule.rb', line 10
def accept visitor visitor.accept_rule self end
#pretty_print(q)
This method is for internal use only.
[ GitHub ]
# File 'lib/rdoc/markup/rule.rb', line 14
def pretty_print q # :nodoc: q.group 2, '[rule:', ']' do q.pp weight end end