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
my_yard-0.0.8 home_my_yard/templates/visualruby/module/dot/setup.rb
my_yard-0.0.7 home_my_yard/templates/visualruby/module/dot/setup.rb
enumerable-statistics-2.0.7 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.6 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.5 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.3 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.2 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.1 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.0 yard/templates/mathjax/module/dot/setup.rb
enumerable-statistics-2.0.0.pre yard/templates/mathjax/module/dot/setup.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.1/templates/default/module/dot/setup.rb
abaci-0.3.0 vendor/bundle/gems/yard-0.9.2/templates/default/module/dot/setup.rb
enumerable-statistics-1.0.1 yard/templates/mathjax/module/dot/setup.rb
my_yard-0.0.3 home_my_yard/templates/visualruby/module/dot/setup.rb
my_yard-0.0.2 home_my_yard/templates/visualruby/module/dot/setup.rb
yard-0.9.5 templates/default/module/dot/setup.rb
yard-0.9.4 templates/default/module/dot/setup.rb
yard-0.9.3 templates/default/module/dot/setup.rb
yard-0.9.2 templates/default/module/dot/setup.rb
yard-0.9.1 templates/default/module/dot/setup.rb