mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	 858362e761
			
		
	
	
		858362e761
		
	
	
	
	
		
			
			git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			44 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| @node <%= @v['class']['full_name'].gsub(/::/, '-') %>
 | |
| @chapter <%= @v['class']["classmod"] %> <%= @v['class']['full_name'] %>
 | |
| 
 | |
| <% if @v['class']["parent"] and @v['class']['par_url'] %>
 | |
| Inherits <%= href @v['class']["par_url"], @v['class']["parent"] %><% end %>
 | |
| 
 | |
| <%= @v['class']["description"] %>
 | |
| 
 | |
| <% if @v['class']["includes"] %>
 | |
| Includes
 | |
| <%   @v['class']["includes"].each do |include| %>
 | |
| * <%=  href include["aref"], include["name"] %>
 | |
| <%   end # @v['class']["includes"] %>
 | |
| <% end %>
 | |
| 
 | |
| <% if @v['class']["sections"] %>
 | |
| <%   @v['class']["sections"].each do |section| %>
 | |
| <%     if section["attributes"] %>
 | |
| Attributes
 | |
| <%       section["attributes"].each do |attributes| %>
 | |
| * <%=      attributes["name"] %> <%= attributes["rw"] %> <%= attributes["a_desc"] %>
 | |
| <%       end # section["attributes"] %>
 | |
| <%     end %>
 | |
| <%   end %>
 | |
| 
 | |
| <%   @v['class']["sections"].each do |section| %>
 | |
| <%     if section["method_list"] %>
 | |
| Methods
 | |
| @menu
 | |
| <%     section["method_list"].each_with_index do |method_list, i| %>
 | |
| <%= i %>
 | |
| <%       (method_list["methods"] || []).each do |method| %>
 | |
| * <%= @v['class']['full_name'].gsub(/::/, '-') %><%= method_prefix method_list %><%= method['name'] %>::<% end %>
 | |
| <% end %>
 | |
| @end menu
 | |
| 
 | |
| <%     section["method_list"].each do |method_list| %>
 | |
| <%       (method_list["methods"] || []).uniq.each do |method| %>
 | |
| <%=        TexinfoTemplate.new(@v.merge({'method' => method, 'list' => method_list}),
 | |
|                                'method.texinfo.erb').render %><% end %>
 | |
| <%       end %>
 | |
| <%     end # if section["method_list"] %>
 | |
| <% end # @v['class']["sections"] %>
 | |
| <% end %>
 |