Class: RDoc::Markdown::Literals::RuleInfo
- Inherits:
-
Object
- Object
- RDoc::Markdown::Literals::RuleInfo
- Defined in:
- lib/rdoc/markdown/literals.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#rendered ⇒ Object
readonly
Returns the value of attribute rendered.
Instance Method Summary collapse
-
#initialize(name, rendered) ⇒ RuleInfo
constructor
A new instance of RuleInfo.
Constructor Details
#initialize(name, rendered) ⇒ RuleInfo
Returns a new instance of RuleInfo.
350 351 352 353 |
# File 'lib/rdoc/markdown/literals.rb', line 350 def initialize(name, rendered) @name = name @rendered = rendered end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
355 356 357 |
# File 'lib/rdoc/markdown/literals.rb', line 355 def name @name end |
#rendered ⇒ Object (readonly)
Returns the value of attribute rendered.
355 356 357 |
# File 'lib/rdoc/markdown/literals.rb', line 355 def rendered @rendered end |