Class: Docs

Inherits:
AutoC::Module show all
Defined in:
lib/autoc/scaffold/docs.rb

Constant Summary

Constants inherited from AutoC::Module

AutoC::Module::CAP

Instance Attribute Summary

Attributes inherited from AutoC::Module

#name, #source_count, #source_threshold

Instance Method Summary collapse

Methods inherited from AutoC::Module

#digests, #header, render, #sources, #stateful?, #total_entities

Methods included from AutoC::Module::EntityContainer

#<<, #entities

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

#renderObject



90
91
92
93
# File 'lib/autoc/scaffold/docs.rb', line 90

def render
  distribute_entities
  header.render
end