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
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/templates/default/module/dot/setup.rb
yard-0.8.7.3 templates/default/module/dot/setup.rb
yard-0.8.7.2 templates/default/module/dot/setup.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/yard-0.8.7/templates/default/module/dot/setup.rb
candlepin-api-0.4.0 bundle/ruby/gems/yard-0.8.7/templates/default/module/dot/setup.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/yard-0.8.7/templates/default/module/dot/setup.rb
yard-0.8.7.1 templates/default/module/dot/setup.rb
yard-0.8.7 templates/default/module/dot/setup.rb
challah-1.0.0 vendor/bundle/gems/yard-0.8.6.1/templates/default/module/dot/setup.rb
yard-0.8.6.2 templates/default/module/dot/setup.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.5.2/templates/default/module/dot/setup.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6.1/templates/default/module/dot/setup.rb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6/templates/default/module/dot/setup.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/setup.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/default/module/dot/setup.rb
yard-0.8.6.1 templates/default/module/dot/setup.rb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.6/templates/default/module/dot/setup.rb