Class: RDoc::Markdown::Literals::RuleInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/rdoc/markdown/literals_1_9.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, rendered) ⇒ RuleInfo

Returns a new instance of RuleInfo.



353
354
355
356
# File 'lib/rdoc/markdown/literals_1_9.rb', line 353

def initialize(name, rendered)
  @name = name
  @rendered = rendered
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



358
359
360
# File 'lib/rdoc/markdown/literals_1_9.rb', line 358

def name
  @name
end

#renderedObject (readonly)

Returns the value of attribute rendered.



358
359
360
# File 'lib/rdoc/markdown/literals_1_9.rb', line 358

def rendered
  @rendered
end