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

Version Path
challah-0.8.1 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-rolls-0.1.0 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-0.8.0.pre vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-0.7.1 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-0.7.0 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-0.7.0.pre2 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-0.7.0.pre vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
challah-0.6.2 vendor/bundle/gems/yard-0.8.1/templates/default/module/dot/setup.rb
challah-0.6.2 vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/setup.rb
challah-0.6.2 vendor/bundle/gems/yard-0.8.2.1/templates/default/module/dot/setup.rb
yard-0.8.2.1 templates/default/module/dot/setup.rb
challah-0.6.1 vendor/bundle/gems/yard-0.8.1/templates/default/module/dot/setup.rb
challah-0.6.1 vendor/bundle/gems/yard-0.8.2/templates/default/module/dot/setup.rb
yard-0.8.2 templates/default/module/dot/setup.rb
challah-0.6.0 vendor/bundle/gems/yard-0.8.1/templates/default/module/dot/setup.rb
yard-0.8.1 templates/default/module/dot/setup.rb
yard-0.8.0 templates/default/module/dot/setup.rb