Sha256: ab1d4e52d78df6612992282f9868aefc71c87fceed8cb3906717a9ae069911e2
Contents?: true
Size: 375 Bytes
Versions: 98
Compression:
Stored size: 375 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
98 entries across 81 versions & 11 rubygems