olddoc.git  about / heads / tags
olddoc - old-fashioned RDoc generator(s)
blob 932310178381154e97b36caa7b8497589a6d40bc 324 bytes (raw)
$ git show v1.5.0:lib/oldweb/_sidebar_parent.rhtml	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
<%
# having Object as parent is boring
if klass.type == 'class' && klass.superclass != 'Object'
%><p><b>Parent:</b> <%
  if klass.superclass and not String === klass.superclass
%><a
href="<%= klass.aref_to klass.superclass.path %>"><%=
    klass.superclass.full_name %></a><%
  else
%><%= klass.superclass %><%
  end
end
%>

git clone https://80x24.org/olddoc.git