Sha256: 541fa5a1218b0d4542257f6e435231c80064f1973a8197bd7a4c08377f0c13f0
Contents?: true
Size: 378 Bytes
Versions: 34
Compression:
Stored size: 378 Bytes
Contents
def init @modules = object.children.select {|o| o.type == :module } @classes = object.children.select {|o| o.type == :class } sections :child, [:info], :classes, [T('class')], :header, [T('module')], :dependencies end def dependencies return unless options[:dependencies] erb(:dependencies) end def classes @classes.map {|k| yieldall :object => k }.join("\n") end
Version data entries
34 entries across 34 versions & 4 rubygems