Class: Docs
- Inherits:
-
AutoC::Module
- Object
- AutoC::Module
- Docs
- Defined in:
- lib/autoc/scaffold/docs.rb
Constant Summary
Constants inherited from AutoC::Module
Instance Attribute Summary
Attributes inherited from AutoC::Module
#name, #source_count, #source_threshold
Instance Method Summary collapse
-
#initialize(*args, **kws) ⇒ Docs
constructor
A new instance of Docs.
- #render ⇒ Object
Methods inherited from AutoC::Module
#digests, #header, render, #sources, #stateful?, #total_entities
Methods included from AutoC::Module::EntityContainer
Constructor Details
#initialize(*args, **kws) ⇒ Docs
Returns a new instance of Docs.
84 85 86 87 88 89 |
# File 'lib/autoc/scaffold/docs.rb', line 84 def initialize(*args, **kws) super class << header def file_name = 'autoc.h' end end |
Instance Method Details
#render ⇒ Object
90 91 92 93 |
# File 'lib/autoc/scaffold/docs.rb', line 90 def render distribute_entities header.render end |