Class: ConTeXtSetup::Inherit
- Defined in:
- lib/tex/context/contextsetup.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(interface) ⇒ Inherit
constructor
parse_xml.
- #parse_xml(elt) ⇒ Object
- #to_html ⇒ Object
Methods inherited from Param
#opt, #optional?, #sanitize_html, #show
Methods inherited from SetupXML
Constructor Details
#initialize(interface) ⇒ Inherit
parse_xml
620 621 622 623 |
# File 'lib/tex/context/contextsetup.rb', line 620 def initialize(interface) @interface=interface @name=nil end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
616 617 618 |
# File 'lib/tex/context/contextsetup.rb', line 616 def name @name end |
Instance Method Details
#==(other) ⇒ Object
627 628 629 |
# File 'lib/tex/context/contextsetup.rb', line 627 def ==(other) Inherit===other && @name==other.name end |
#parse_xml(elt) ⇒ Object
617 618 619 |
# File 'lib/tex/context/contextsetup.rb', line 617 def parse_xml(elt) @name=elt.attributes["name"] end |
#to_html ⇒ Object
624 625 626 |
# File 'lib/tex/context/contextsetup.rb', line 624 def to_html "see also #{@name}" end |