Class: ConTeXtSetup::Index
- Defined in:
- lib/tex/context/contextsetup.rb
Instance Attribute Summary collapse
-
#list ⇒ Object
Returns the value of attribute list.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(interface) ⇒ Index
constructor
A new instance of Index.
- #parse_xml(elt) ⇒ Object
Methods inherited from Param
#opt, #optional?, #sanitize_html, #to_html
Methods inherited from SetupXML
Constructor Details
#initialize(interface) ⇒ Index
Returns a new instance of Index.
518 519 520 521 |
# File 'lib/tex/context/contextsetup.rb', line 518 def initialize(interface) @interface=interface @list=false end |
Instance Attribute Details
#list ⇒ Object
Returns the value of attribute list.
514 515 516 |
# File 'lib/tex/context/contextsetup.rb', line 514 def list @list end |
Instance Method Details
#==(other) ⇒ Object
522 523 524 |
# File 'lib/tex/context/contextsetup.rb', line 522 def ==(other) ConTeXtSetup::Index===other && @list==other.list end |
#parse_xml(elt) ⇒ Object
515 516 517 |
# File 'lib/tex/context/contextsetup.rb', line 515 def parse_xml(elt) @list = elt.attributes["list"] == "yes" end |