rdoc-markdown 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rdoc/markdown/version.rb +1 -1
- data/lib/templates/classfile.md.erb +21 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f30f6ccebebb94e820513965f5d8a7dece795f8fcc6fe94e209ceb89b465f653
|
4
|
+
data.tar.gz: 74bdeed8adbcc0a5c128ee77ebb65aee345f575eb76c52b59c63f5e611e74abe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18daca03f85c417d3d87d5fe0247f5496acaa1d3454e327002a9c650c879646daee091012775cb95d066b941338a8c14f1e34969b9a3126476dffb9b9eb5208d
|
7
|
+
data.tar.gz: ec1f31981a90f6c5e09f83e51cf4fc6e6dbd2c3a701ba464d31a859746f403ab938b99b7cfcee38a56627a30f6df8cd325af8dafa00180eca2f347a9532cd6d8
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,27 @@
|
|
1
|
-
# <%= klass.name %>
|
2
|
-
|
3
|
-
<% if klass.description && !klass.description.empty? %><%= h klass.description %><% end %>
|
1
|
+
# <% if klass.type == 'class' %><%= klass.type.capitalize %>: **<%= klass.full_name %>** <% if klass.superclass %> < <% end %><% unless String === klass.superclass %><%= klass.superclass&.name %> <% else %> <%= klass.superclass %> <% end %> <% else %> <%= klass.type.capitalize %><%= klass&.name %> <% end %>
|
2
|
+
<% if klass.description && !klass.description.empty? %><%= h klass.description %><% end %>
|
4
3
|
<% unless klass.constants.empty? %>
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
## Constants
|
5
|
+
***
|
6
|
+
|
7
|
+
<% klass.constants.sort_by { |x| x.name }.each do |const| %> **<%= const.name %>**
|
8
|
+
<%= h const.description %>
|
8
9
|
<% end %><% end %>
|
9
10
|
<% unless klass.attributes.empty? %>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<%=
|
11
|
+
## Attributes
|
12
|
+
|
13
|
+
<% klass.attributes.sort_by { |x| x.name }.each do |attr| %>
|
14
|
+
**[<%= attr.rw %>]** <%= attr.name %>
|
15
|
+
<% end %><% end %>
|
14
16
|
<% unless klass_methods.empty? %>
|
15
|
-
|
16
|
-
|
17
|
+
## Public Class Methods
|
18
|
+
***
|
19
|
+
|
20
|
+
<% klass_methods.each do |method| %> ### <%= method.name %><%= method.params %>
|
21
|
+
|
17
22
|
<%= h method.description %><% end %><% end %>
|
18
23
|
<% unless instance_methods.empty? %>
|
19
|
-
|
20
|
-
<% instance_methods.each do |method| %>
|
21
|
-
|
24
|
+
## Public Instance Methods
|
25
|
+
<% instance_methods.each do |method| %> ### <%= method.name %><%= method.params %>
|
26
|
+
|
27
|
+
<%= h method.description %><% end %><% end %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stanislav (Stas) Katkov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|