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.



387
388
389
390
# File 'lib/rdoc/markdown/literals.rb', line 387

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

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



392
393
394
# File 'lib/rdoc/markdown/literals.rb', line 392

def name
  @name
end

#renderedObject (readonly)

Returns the value of attribute rendered.



392
393
394
# File 'lib/rdoc/markdown/literals.rb', line 392

def rendered
  @rendered
end