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

Version Path
challah-0.6.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.6.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.6.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.5.4 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.5.3 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.5.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.5.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.5.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.4.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.4.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.3.5 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.3.4 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.3.3 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.3.2 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.3.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.3.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.2.1 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
challah-0.2.0 vendor/bundle/gems/yard-0.7.5/templates/default/module/dot/setup.rb
yard-0.7.5 templates/default/module/dot/setup.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/yard-0.7.4/templates/default/module/dot/setup.rb