Class: BitClust::DocScreen

Inherits:
EntryBoundScreen show all
Defined in:
lib/bitclust/screen.rb

Constant Summary

Constants included from NameUtils

NameUtils::CHAR_TO_MARK, NameUtils::CHAR_TO_NAME, NameUtils::CLASS_NAME_RE, NameUtils::CLASS_PATH_RE, NameUtils::CONST_PATH_RE, NameUtils::CONST_RE, NameUtils::GVAR_RE, NameUtils::LIBNAME_RE, NameUtils::MARK_TO_CHAR, NameUtils::MARK_TO_NAME, NameUtils::METHOD_NAME_RE, NameUtils::METHOD_SPEC_RE, NameUtils::MID, NameUtils::NAME_TO_CHAR, NameUtils::NAME_TO_MARK, NameUtils::TYPEMARK_RE

Instance Method Summary collapse

Methods inherited from EntryBoundScreen

#encoding, #initialize

Methods inherited from TemplateScreen

#content_type, #encoding, #initialize, #ruby_version

Methods included from NameUtils

build_method_id, classid2name, classname2id, classname?, decodeid, decodename_fs, decodename_url, encodeid, encodename_fs, encodename_rdocurl, encodename_url, functionname?, gvarname?, html_filename, libid2name, libname2id, libname?, method_spec?, methodid2classid, methodid2libid, methodid2mname, methodid2specparts, methodid2specstring, methodid2typechar, methodid2typemark, methodid2typename, methodname?, split_method_id, split_method_spec, typechar2mark, typechar2name, typechar?, typemark2char, typemark2name, typemark?, typename2char, typename2mark, typename?

Methods inherited from Screen

for_entry, #response, #status

Constructor Details

This class inherits a constructor from BitClust::EntryBoundScreen

Instance Method Details

#bodyObject


576
577
578
# File 'lib/bitclust/screen.rb', line 576

def body
  run_template('doc')
end

568
569
570
571
572
573
574
# File 'lib/bitclust/screen.rb', line 568

def breadcrumb_title
  if /ascii/ =~ @conf[:encoding]
    @entry.name
  else
    @entry.title
  end
end

#rdcompilerObject


580
581
582
583
# File 'lib/bitclust/screen.rb', line 580

def rdcompiler
  h = {:force => true, :catalog => message_catalog() }.merge(@conf)
  RDCompiler.new(@urlmapper, @hlevel, h)
end