123456789_123456789_123456789_123456789_123456789_

Class: RDoc::Markup::Rule

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Struct
Instance Chain:
self, Struct
Inherits: Struct
  • Object
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

Instance Attribute Details

#weight (rw)

A horizontal rule with a weight

[ GitHub ]

Instance Method Details

#accept(visitor)

Calls #accept_rule on visitor

[ GitHub ]

  
# File 'lib/rdoc/markup/rule.rb', line 10

def accept visitor
  visitor.accept_rule self
end