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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



355
356
357
# File 'lib/rdoc/markdown/literals.rb', line 355

def name
  @name
end

#renderedObject (readonly)

Returns the value of attribute rendered.



355
356
357
# File 'lib/rdoc/markdown/literals.rb', line 355

def rendered
  @rendered
end