bitclust-core 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/ChangeLog +16 -0
  3. data/Gemfile +1 -7
  4. data/data/bitclust/template/class +14 -0
  5. data/data/bitclust/template/doc +1 -1
  6. data/data/bitclust/template/layout +1 -1
  7. data/data/bitclust/template.epub/class +101 -0
  8. data/data/bitclust/template.epub/class-index +28 -0
  9. data/data/bitclust/template.epub/container.xml +6 -0
  10. data/data/bitclust/template.epub/contents +23 -0
  11. data/data/bitclust/template.epub/doc +13 -0
  12. data/data/bitclust/template.epub/function +22 -0
  13. data/data/bitclust/template.epub/function-index +24 -0
  14. data/data/bitclust/template.epub/layout +19 -0
  15. data/data/bitclust/template.epub/library +75 -0
  16. data/data/bitclust/template.epub/library-index +47 -0
  17. data/data/bitclust/template.epub/method +21 -0
  18. data/data/bitclust/template.epub/mimetype +1 -0
  19. data/data/bitclust/template.epub/nav.xhtml +6 -0
  20. data/data/bitclust/template.epub/rd_file +6 -0
  21. data/data/bitclust/template.lillia/class +17 -0
  22. data/data/bitclust/template.lillia/doc +1 -1
  23. data/data/bitclust/template.lillia/layout +1 -1
  24. data/data/bitclust/template.offline/class +14 -0
  25. data/data/bitclust/template.offline/doc +1 -1
  26. data/data/bitclust/template.offline/layout +1 -1
  27. data/lib/bitclust/classentry.rb +31 -11
  28. data/lib/bitclust/docentry.rb +2 -2
  29. data/lib/bitclust/entry.rb +1 -0
  30. data/lib/bitclust/exception.rb +1 -0
  31. data/lib/bitclust/functionreferenceparser.rb +4 -3
  32. data/lib/bitclust/generators/epub.rb +118 -0
  33. data/lib/bitclust/libraryentry.rb +4 -6
  34. data/lib/bitclust/methodsignature.rb +1 -1
  35. data/lib/bitclust/nameutils.rb +12 -1
  36. data/lib/bitclust/rdcompiler.rb +101 -57
  37. data/lib/bitclust/rrdparser.rb +20 -6
  38. data/lib/bitclust/runner.rb +2 -0
  39. data/lib/bitclust/screen.rb +10 -2
  40. data/lib/bitclust/searcher.rb +4 -0
  41. data/lib/bitclust/subcommands/epub_command.rb +68 -0
  42. data/lib/bitclust/subcommands/methods_command.rb +13 -0
  43. data/lib/bitclust/subcommands/setup_command.rb +2 -2
  44. data/lib/bitclust/subcommands/statichtml_command.rb +54 -32
  45. data/lib/bitclust/version.rb +1 -1
  46. data/test/run_test.rb +0 -0
  47. data/test/test_functiondatabase.rb +3 -3
  48. data/test/test_functionreferenceparser.rb +51 -0
  49. data/test/test_methoddatabase.rb +33 -0
  50. data/test/test_nameutils.rb +13 -0
  51. data/test/test_rdcompiler.rb +176 -13
  52. data/test/test_refsdatabase.rb +8 -0
  53. metadata +41 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20aa499245063832cb75dcfdbc4cb68556b2aac2
4
- data.tar.gz: 3fe3945f3f873d42c2d292a7b0592dffe4aabf45
3
+ metadata.gz: 92656e05a45d3c3d4de8875e9f15d343b01595dc
4
+ data.tar.gz: 25d430389ac90ec6068f4bf083435fc764ce7178
5
5
  SHA512:
6
- metadata.gz: d6f5ab20e05ce5bdcd63053915ccc4bd055c939fd5024eb247e7afb3d7f85e3f5c9ba8f9c839428c1d36fa6590d4a39dbe71c297045d2ad3dc80668d2a0d3327
7
- data.tar.gz: 6d8a3ddc90d4134696155c4a02ceb891cf9f4e89cb73e70f0c745dccad206ab2a453e42e65e31dfb39cbc7bddb53c530f11501d345bb5750fa65296bda93cdf9
6
+ metadata.gz: ae25fdb8ce781ae8c1492f5d85c6e89967c18e45ada05355f036fc0b01e061bc3216db40e35ca8d9b2401640971a58fea169d51318fd30a4105d3ad13587b73a
7
+ data.tar.gz: ecc594a248ff174e73f1f8283a429be0483af352773ec90b7c7350ffd7804ef92a08ca9ad8e42274cb32b0a754da2ddaafce17530ebfa58d39153f1b94d6f0e9
data/ChangeLog CHANGED
@@ -1,3 +1,19 @@
1
+ 2014-03-16 Sho Hashimoto <sho.hsmt@gmail.com>
2
+
3
+ * lib/bitclust/functionreferenceparser.rb
4
+ (BitClust::FunctionReferenceParser::parse_file): support version
5
+ branching.
6
+
7
+ 2014-03-08 Sho Hashimoto <sho.hsmt@gmail.com>
8
+
9
+ * lib/bitclust/rdcompiler.rb (BitClust::RDCompiler::rdoc_url):
10
+ change rdoc link target.
11
+
12
+ 2013-09-08 Sho Hashimoto <sho.hsmt@gmail.com>
13
+
14
+ * lib/bitclust/rrdparser.rb (BitClust::RRDParser#read_object_body):
15
+ support level 3 or more refs to object. (see #7900)
16
+
1
17
  2013-04-12 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2
18
 
3
19
  * lib/bitclust/subcommands/setup_command.rb (BitClust::SetupCommand#checkout):
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
 
3
3
  gem "rake"
4
4
  gem "progressbar"
@@ -7,9 +7,3 @@ gem "progressbar"
7
7
  gemspec :name => "bitclust"
8
8
  gemspec :name => "bitclust-dev"
9
9
  gemspec :name => "refe2"
10
-
11
- group :development, :test do
12
- gem "test-unit"
13
- gem "test-unit-notify"
14
- gem "test-unit-rr"
15
- end
@@ -30,6 +30,20 @@
30
30
  <% unless @entry.aliases.empty? %>
31
31
  <br>aliases: <%=h @entry.aliases.map{|c| c.name}.join(', ') %>
32
32
  <% end %>
33
+ <% unless @entry.dynamically_included.empty? %>
34
+ <br> dynamic include:
35
+ <%= @entry.dynamically_included.map{|m|
36
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
37
+ }.join(", ")
38
+ %>
39
+ <% end %>
40
+ <% unless @entry.dynamically_extended.empty? %>
41
+ <br> dynamic extend:
42
+ <%= @entry.dynamically_extended.map{|m|
43
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
44
+ }.join(", ")
45
+ %>
46
+ <% end %>
33
47
  </p>
34
48
  <%
35
49
  headline_push
@@ -4,7 +4,7 @@
4
4
  <%= _('Ruby %s Reference Manual', ruby_version()) %>
5
5
  <% else %>
6
6
  <%= manual_home_link() %>
7
- &gt; <%=h @entry.name %>
7
+ &gt; <%=h breadcrumb_title %>
8
8
  <% end %>
9
9
  </p>
10
10
  <%= search_form() %>
@@ -5,7 +5,7 @@
5
5
  <meta http-equiv="Content-Language" content="ja-JP">
6
6
  <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
7
7
  <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
8
- <title><%=h @title %></title>
8
+ <title><%=h @title %> (Ruby <%=h ruby_version %>)</title>
9
9
  <link rel="search" type="application/opensearchdescription+xml" title="<%= _('Ruby %s Reference Manual', ruby_version()) %>" href="<%=h opensearchdescription_url() %>">
10
10
  </head>
11
11
  <body>
@@ -0,0 +1,101 @@
1
+ <% @title = "#{@entry.type} #{@entry.name}" %>
2
+ <p>
3
+ <%= manual_home_link() %>
4
+ &gt; <a href="<%= library_index_url() %>"><%= _('All Libraries') %></a>
5
+ &gt; <%= friendly_library_link(@entry.library.name) %>
6
+ &gt; <%=h _(@entry.type.to_s + ' %s', @entry.name) %>
7
+ </p>
8
+
9
+ <%
10
+ headline_init
11
+ %>
12
+ <%= headline("#{@entry.type} #{@entry.name}" + @entry.ancestors[1..@alevel].map{|c| " + #{c.name}" }.join) %>
13
+ <p>
14
+ <%
15
+ myself, *supers = @entry.ancestors
16
+ n = 0
17
+ %>
18
+ <% unless @entry.alias? %>
19
+ <%= _('ancestors') %>: <%= escape_html(myself.name) %>
20
+ <% supers.each do |c| %>
21
+ <%= @conf[:tochm_mode] ? "&lt;" : a_href("?a=#{n}", "<") %> <%= class_link(c.name) %>
22
+ <% n += 1 %>
23
+ <% end %>
24
+ <% end %>
25
+
26
+ <% unless @entry.extended.empty? %>
27
+ <br>extend: <%= @entry.extended.map {|c| class_link(c.name) }.join(', ') %>
28
+ <% end %>
29
+ <% unless @entry.aliases.empty? %>
30
+ <br>aliases: <%=h @entry.aliases.map{|c| c.name}.join(', ') %>
31
+ <% end %>
32
+ <% unless @entry.dynamically_included.empty? %>
33
+ <br> dynamic include:
34
+ <%= @entry.dynamically_included.map{|m|
35
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
36
+ }.join(", ")
37
+ %>
38
+ <% end %>
39
+ <% unless @entry.dynamically_extended.empty? %>
40
+ <br> dynamic extend:
41
+ <%= @entry.dynamically_extended.map{|m|
42
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
43
+ }.join(", ")
44
+ %>
45
+ <% end %>
46
+ </p>
47
+ <%
48
+ headline_push
49
+ %>
50
+ <%= headline(_("Abstract")) %>
51
+ <%= compile_rd(@entry.source) %>
52
+
53
+ <%
54
+ ents = @entry.partitioned_entries(@alevel)
55
+ items =
56
+ [[_('Singleton Methods'), ents.singleton_methods ],
57
+ [_('Instance Methods'), ents.instance_methods ],
58
+ [_('Private Singleton Methods'), ents.private_singleton_methods ],
59
+ [_('Private Instance Methods'), ents.private_instance_methods ],
60
+ [_('Module Functions'), ents.module_functions ],
61
+ [_('Constants'), ents.constants ],
62
+ [_('Special Variables'), ents.special_variables ,'$']] %>
63
+ <%= headline(_("Index")) %>
64
+ <dl>
65
+ <% items.each do |label, entries, prefix| next if entries.empty? %>
66
+ <dt><%= label %></dt>
67
+ <dd>
68
+ <%
69
+ entries.each do |m|
70
+ m.names.each do |mname|
71
+ %>
72
+ <a href="#<%= m.index_id %>"><%= "#{prefix}#{mname}" %></a>
73
+ <%
74
+ end
75
+ end
76
+ %>
77
+ </dd>
78
+ <% end %>
79
+ </dl>
80
+
81
+ <%
82
+ items.each do |label, entries|
83
+ unless entries.empty? %>
84
+ <%= headline(label) %>
85
+ <dl>
86
+ <%
87
+ headline_push
88
+ entries.each do |m|
89
+ %>
90
+ <%= compile_method(m) %>
91
+ <%
92
+ end
93
+ headline_pop
94
+ %>
95
+ </dl>
96
+ <%
97
+ end
98
+ end
99
+ headline_pop
100
+ %>
101
+
@@ -0,0 +1,28 @@
1
+ <% @title = _('Class Index') %>
2
+ <p>
3
+ <%= manual_home_link() %>
4
+ &gt; <%= _('All Classes') %>
5
+ </p>
6
+ <%
7
+ headline_init
8
+ %>
9
+ <%= headline(_("Class Index")) %>
10
+ <p>
11
+ <%= @entries.size %> classes/modules in database
12
+ </p>
13
+ <%
14
+ headline_push
15
+ @entries.each do |c|
16
+ %>
17
+ <%= headline_noescape("#{c.type} #{class_link(c.name)}") %>
18
+ <p>
19
+ <%
20
+ c.entries.sort.each do |m| %>
21
+ <%= link_to_method(m) %>
22
+ <% end %>
23
+ </p>
24
+ <%
25
+ end
26
+ headline_pop
27
+ %>
28
+ </ul>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
3
+ <rootfiles>
4
+ <rootfile full-path="contents.opf" media-type="application/oebps-package+xml" />
5
+ </rootfiles>
6
+ </container>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <package version="3.0" unique-identifier="pub-id" xmlns="http://www.idpf.org/2007/opf" xmlns:dc="http://purl.org/dc/elements/1.1/">
3
+ <metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
4
+ <dc:identifier id="pub-id">d715e247-34f4-4a0e-9a3f-b3d2c747cfb0-2.0.0</dc:identifier>
5
+ <dc:title>Ruby リファレンスマニュアル</dc:title>
6
+ <dc:language>ja</dc:language>
7
+ <meta property="dcterms:modified"><%= last_modified %></meta>
8
+ </metadata>
9
+ <manifest>
10
+ <item id="toc" properties="nav" href="nav.xhtml" media-type="application/xhtml+xml" />
11
+ <item id="index" href="OEBPS/doc/index.html" media-type="application/xhtml+xml" />
12
+ <% items.each do |item| -%>
13
+ <item id="<%= item[:id] %>" href="<%= item[:path] %>" media-type="application/xhtml+xml" />
14
+ <% end -%>
15
+ </manifest>
16
+ <spine>
17
+ <itemref idref="toc" />
18
+ <itemref idref="index" />
19
+ <% items.each do |item| -%>
20
+ <itemref idref="<%= item[:id] %>" />
21
+ <% end -%>
22
+ </spine>
23
+ </package>
@@ -0,0 +1,13 @@
1
+ <% @title = @entry.title %>
2
+ <p>
3
+ <% if @entry.name == 'index' %>
4
+ <%= _('Ruby %s Reference Manual', ruby_version()) %>
5
+ <% else %>
6
+ <%= manual_home_link() %>
7
+ &gt; <%=h breadcrumb_title %>
8
+ <% end %>
9
+ </p>
10
+ <% headline_init %>
11
+ <%= headline(@entry.title) %>
12
+ <% headline_push %>
13
+ <%= compile_rd(@entry.source) %>
@@ -0,0 +1,22 @@
1
+ <%
2
+ entry = @entry
3
+ @title = "#{entry.type_label} #{entry.label}"
4
+ %>
5
+ <p>
6
+ <%= manual_home_link() %>
7
+ &gt; <a href="<%= function_index_url() %>"><%= _('All Functions') %></a>
8
+ &gt; <%=h entry.name %>
9
+ <% unless entry.public? %>(static)<% end %>
10
+ </p>
11
+
12
+ <% headline_init %>
13
+ <%= headline("#{entry.type_label} #{entry.label}") %>
14
+ <dl class="functionlist">
15
+ <dt>
16
+ <code><%= entry.header %></code>
17
+ </dt>
18
+ <dd>
19
+ <%= compile_function(entry) %>
20
+ </dd>
21
+ </dl>
22
+
@@ -0,0 +1,24 @@
1
+ <% @title = _('Function Index') %>
2
+ <p>
3
+ <%= manual_home_link() %>
4
+ &gt; <%= _('All Functions') %>
5
+ </p>
6
+ <%
7
+ headline_init
8
+ %>
9
+ <%= headline(_("Function Index")) %>
10
+ <table class="entries functions">
11
+ <%
12
+ headline_push
13
+ @entries.each do |f|
14
+ %>
15
+ <tr>
16
+ <td class="signature"><%= function_link(f.name) %></td>
17
+ <td class="description"><%= compile_rd(f.synopsis_source) %></td>
18
+ </tr>
19
+ <%
20
+ end
21
+ headline_pop
22
+ %>
23
+ </table>
24
+
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html>
3
+ <html lang="ja-JP">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=<%=h charset() %>">
6
+ <meta http-equiv="Content-Language" content="ja-JP">
7
+ <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
8
+ <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
9
+ <title><%=h @title %> (Ruby <%=h ruby_version %>)</title>
10
+ </head>
11
+ <body>
12
+ <%= yield %>
13
+ <div id="footer">
14
+ <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
15
+ <img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/88x31.png" />
16
+ </a>
17
+ </div>
18
+ </body>
19
+ </html>
@@ -0,0 +1,75 @@
1
+ <% @title = "library #{@entry.name}" %>
2
+ <p>
3
+ <%= manual_home_link() %>
4
+ &gt; <a href="<%= library_index_url() %>"><%= _('All Libraries') %></a>
5
+ &gt; <%= friendly_library_name(@entry.name) %>
6
+ </p>
7
+ <%
8
+ headline_init
9
+ %>
10
+ <%= headline(@entry.id == '_builtin' ? _('Builtin Library') : "library #{@entry.name}") %>
11
+
12
+ <%
13
+ headline_push
14
+ all_classes = @entry.all_classes
15
+ err_classes = @entry.all_error_classes.sort
16
+ modules = @entry.all_modules
17
+ objects = @entry.all_objects
18
+ classes = all_classes - err_classes - modules - objects
19
+ %>
20
+
21
+
22
+ <%= headline(_("Abstract")) %>
23
+ <%= compile_rd(@entry.source) %>
24
+ <%
25
+ [[classes, _('Classes')],
26
+ [modules, _('Modules')],
27
+ [objects, _('Objects')],
28
+ [err_classes, _('Exception Classes')]].each do |cs, msg|
29
+ unless cs.empty?
30
+ %>
31
+ <%= headline(msg) %>
32
+ <table class="entries libraries">
33
+ <% draw_tree(cs) do |c, indent| %>
34
+ <tr>
35
+ <td class="signature" style="text-indent: <%= indent * 1.0%>em;">
36
+ <span style="display:none"><%= "&nbsp;" * indent %></span>
37
+ <%= class_link(c.name, c.name) %>
38
+ </td>
39
+ <td class="description"><%= compile_rd(c.synopsis_source) %></td>
40
+ </tr>
41
+ <% end %>
42
+ </table>
43
+ <%
44
+ end
45
+ end
46
+ %>
47
+ <%
48
+ [[@entry.requires.sort, _('Required Libraries')],
49
+ [(@entry.sublibraries - @entry.requires).sort, _('Sub-Libraries')]].each do |cs, msg|
50
+ unless cs.empty?
51
+ %>
52
+ <%= headline(msg) %>
53
+ <table class="entries libraries">
54
+ <% cs.each do |c| %>
55
+ <tr>
56
+ <td class="signature"><%= library_link(c.name) %></td>
57
+ <td class="description"><%= compile_rd(c.synopsis_source) %></td>
58
+ </tr>
59
+ <% end %>
60
+ </table>
61
+ <%
62
+ end
63
+ end
64
+ %>
65
+ <%
66
+ ents = @entry.methods.sort
67
+ unless ents.empty? %>
68
+ <%= headline(_("Added/Redefined Methods")) %>
69
+ <p><code>
70
+ <% ents.each do |m| %>
71
+ <%= link_to_method(m, true) %>
72
+ <% end %>
73
+ </code></p>
74
+ <% end %>
75
+
@@ -0,0 +1,47 @@
1
+ <% @title = _('Library Index') %>
2
+ <p>
3
+ <%= manual_home_link() %>
4
+ &gt; <%= _("All Libraries") %>
5
+ </p>
6
+ <%
7
+ headline_init
8
+ %>
9
+ <%= headline(_("Library Index")) %>
10
+ <%
11
+ headline_push
12
+ weight = {"Builtin" => "", "" => "\x7f\x7f"}
13
+ entry_table = @entries.group_by{|lib| lib.category }.to_a
14
+ entry_table.sort_by! do |pair|
15
+ category = pair[0]
16
+ pair.last.sort!
17
+ pair[0] = "Other" if category == ""
18
+ weight[category] || category
19
+ end
20
+ first = true
21
+ entry_table.each do |category, libs|
22
+ %>
23
+ <% if first then first = false else %> / <% end %>
24
+ <a href="#<%= category %>"><%= h _(category) %></a>
25
+ <%
26
+ end
27
+ entry_table.each do |category, libs|
28
+ %>
29
+ <span id="<%= category %>"><%= headline(_(category)) %></span>
30
+ <table class="entries libraries">
31
+ <%
32
+ libs.each do |lib|
33
+ next if lib.is_sublibrary
34
+ label = _('Builtin Library') if lib.id == '_builtin'
35
+ %>
36
+ <tr>
37
+ <td class="signature"><%= library_link(lib.name, label) %></td>
38
+ <td class="description"><%= compile_rd(lib.synopsis_source) %></td>
39
+ </tr>
40
+ <%
41
+ end
42
+ %>
43
+ </table>
44
+ <%
45
+ end
46
+ headline_pop
47
+ %>
@@ -0,0 +1,21 @@
1
+ <%
2
+ entry = @entries.sort.first
3
+ @title = "#{entry.type_label} #{entry.label}"
4
+ %>
5
+ <p>
6
+ <%= manual_home_link() %>
7
+ &gt; <a href="<%= library_index_url() %>"><%= _('All Libraries') %></a>
8
+ &gt; <%= friendly_library_link(entry.library.name) %>
9
+ &gt; <%= class_link(entry.klass.name, _(entry.klass.type.to_s + ' %s', entry.klass.name)) %>
10
+ &gt; <% if entry.typename == :special_variable %>$<% end %><%=h entry.name %>
11
+ <% unless entry.really_public? %>(<%= entry.visibility %>)<% end %>
12
+ </p>
13
+
14
+ <% headline_init %>
15
+ <%= headline("#{entry.type_label} #{entry.label}") %>
16
+ <dl class="methodlist">
17
+ <% @entries.sort.each do |ent| %>
18
+ <%= compile_method(ent) %>
19
+ <% end %>
20
+ </dl>
21
+
@@ -0,0 +1 @@
1
+ application/epub+zip
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html>
3
+ <html xmlns="http://www.w3.org/1999/xhtml"
4
+ xmlns:epub="http://www.idpf.org/2011/epub"
5
+ lang="ja" xml:lang="ja">
6
+ </html>
@@ -0,0 +1,6 @@
1
+ <%
2
+ headline_init
3
+ headline_push
4
+ headline_push
5
+ %>
6
+ <%= compile_rd(@source) %>
@@ -26,6 +26,23 @@
26
26
  <% unless @entry.extended.empty? %>
27
27
  <br>extend: <%= @entry.extended.map {|c| class_link(c.name) }.join(', ') %>
28
28
  <% end %>
29
+ <% unless @entry.aliases.empty? %>
30
+ <br>aliases: <%=h @entry.aliases.map{|c| c.name}.join(', ') %>
31
+ <% end %>
32
+ <% unless @entry.dynamically_included.empty? %>
33
+ <br> dynamic include:
34
+ <%= @entry.dynamically_included.map{|m|
35
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
36
+ }.join(", ")
37
+ %>
38
+ <% end %>
39
+ <% unless @entry.dynamically_extended.empty? %>
40
+ <br> dynamic extend:
41
+ <%= @entry.dynamically_extended.map{|m|
42
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
43
+ }.join(", ")
44
+ %>
45
+ <% end %>
29
46
  </p>
30
47
 
31
48
  <% headline_push %>
@@ -5,7 +5,7 @@
5
5
  <%= _('Ruby %s Reference Manual', ruby_version()) %>
6
6
  <% else %>
7
7
  <%= manual_home_link() %>
8
- &gt; <%=h @entry.name %>
8
+ &gt; <%=h breadcrumb_title %>
9
9
  <% end %>
10
10
  </p>
11
11
  <% headline_init %>
@@ -6,7 +6,7 @@
6
6
  <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
7
7
  <script type="text/javascript" src="<%=h js_url() %>"></script>
8
8
  <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
9
- <title><%=h @title %></title>
9
+ <title><%=h @title %> (Ruby <%=h ruby_version %>)</title>
10
10
  </head>
11
11
  <body>
12
12
  <%= yield %>
@@ -29,6 +29,20 @@
29
29
  <% unless @entry.aliases.empty? %>
30
30
  <br>aliases: <%=h @entry.aliases.map{|c| c.name}.join(', ') %>
31
31
  <% end %>
32
+ <% unless @entry.dynamically_included.empty? %>
33
+ <br> dynamic include:
34
+ <%= @entry.dynamically_included.map{|m|
35
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
36
+ }.join(", ")
37
+ %>
38
+ <% end %>
39
+ <% unless @entry.dynamically_extended.empty? %>
40
+ <br> dynamic extend:
41
+ <%= @entry.dynamically_extended.map{|m|
42
+ class_link(m.name) + " (by " + library_link(m.library.name) + ")"
43
+ }.join(", ")
44
+ %>
45
+ <% end %>
32
46
  </p>
33
47
  <%
34
48
  headline_push
@@ -4,7 +4,7 @@
4
4
  <%= _('Ruby %s Reference Manual', ruby_version()) %>
5
5
  <% else %>
6
6
  <%= manual_home_link() %>
7
- &gt; <%=h @entry.name %>
7
+ &gt; <%=h breadcrumb_title %>
8
8
  <% end %>
9
9
  </p>
10
10
  <% headline_init %>
@@ -5,7 +5,7 @@
5
5
  <meta http-equiv="Content-Language" content="ja-JP">
6
6
  <link rel="stylesheet" type="text/css" href="<%=h css_url() %>">
7
7
  <link rel="icon" type="image/png" href="<%=h favicon_url() %>">
8
- <title><%=h @title %></title>
8
+ <title><%=h @title %> (Ruby <%=h ruby_version %>)</title>
9
9
  </head>
10
10
  <body>
11
11
  <%= yield %>