Class: ConTeXtSetup::Csname

Inherits:
Param show all
Defined in:
lib/tex/context/contextsetup.rb

Instance Method Summary collapse

Methods inherited from Param

#initialize, #opt, #optional?, #sanitize_html, #show

Methods inherited from SetupXML

#initialize, parse_xml, #parse_xml, tag_method

Constructor Details

This class inherits a constructor from ConTeXtSetup::Param

Instance Method Details

#==(other) ⇒ Object



539
540
541
# File 'lib/tex/context/contextsetup.rb', line 539

def ==(other)
  ConTeXtSetup::Csname===other
end

#to_html(detail = true, cls = "first") ⇒ Object



532
533
534
535
536
537
538
# File 'lib/tex/context/contextsetup.rb', line 532

def to_html(detail=true,cls="first")
  if detail
    ""
  else
    "\\command"
  end
end