Sha256: 68a12d3c5971e070ace47edaf05edae0f898ed395e9e444013c230d180a59078

Contents?: true

Size: 1.69 KB

Versions: 97

Compression:

Stored size: 1.69 KB

Contents

<%= comment %>
<% if constants.any? -%>
- [Constants](#constants)
<%- end -%>
<%- if attributes.any? -%>
- [Attributes](#attributes)
<%- end -%>
<%- if class_methods.any? -%>
- [Class Methods](#class-methods)
<%- class_methods.each do |method| -%>
  - [<%= method.title %>](#<%= method.title.gsub("?", "") %>)
<%- end -%>
<%- end -%>
<%- if instance_methods.any? -%>
- [Instance Methods](#instance-methods)
<%- instance_methods.each do |method| -%>
  - [<%= method.title %>](#<%= method.title.gsub("?", "") %>)
<%- end -%>
<%- end -%>
<%- if included.any? -%>
- [Includes](#includes)
<%- end -%>
<%- if extended.any? -%>
- [Extends](#extends)
<%- end -%>
<%- if constants.any? %>
## Constants
<%- constants.each do |const| -%>
- `<%= const.title %>` <%= const.comment %>
<%- end -%>
<%- end -%>
<%- if attributes.any? %>
## Attributes
<%- attributes.each do |attr| -%>
- `<%= attr.title %>` <%= attr.comment %>
<%- end -%>
<%- end -%>
<%- if class_methods.any? %>
## Class Methods
<% class_methods.each do |method| %>
### <%= method.title %>
`<%= method.signature %>`
<%= method.comment %>
<details><summary>see source</summary><p>

```ruby
<%= method.source_code %>
```
</p></details>

---
<%- end -%>
<%- end -%>
<%- if instance_methods.any? %>
## Instance Methods
<% instance_methods.each do |method| %>
### <%= method.title %>
`<%= method.signature %>`
<%= method.comment %>
<details><summary>see source</summary><p>

```ruby
<%= method.source_code %>
```
</p></details>

---
<%- end -%>
<%- end -%>
<%- if included.any? %>
## Includes
<% included.each do |incld| %>
- <%= incld.title %>
<%- end -%>
<%- end -%>
<%- if extended.any? %>
## Extends
<% extended.each do |incld| %>
- <%= incld.title %>
<%- end -%>
<%- end -%>

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
shopify-cli-1.4.0 lib/docgen/class_template.md.erb
shopify-cli-1.3.1 lib/docgen/class_template.md.erb
shopify-cli-1.3.0 lib/docgen/class_template.md.erb
shopify-cli-1.2.0 lib/docgen/class_template.md.erb
shopify-cli-1.1.2 lib/docgen/class_template.md.erb
shopify-cli-1.1.1 lib/docgen/class_template.md.erb
shopify-cli-1.1.0 lib/docgen/class_template.md.erb
shopify-cli-1.0.5 lib/docgen/class_template.md.erb
shopify-cli-1.0.4 lib/docgen/class_template.md.erb
shopify-cli-1.0.3 lib/docgen/class_template.md.erb
shopify-cli-1.0.2 lib/docgen/class_template.md.erb
shopify-cli-1.0.1 lib/docgen/class_template.md.erb
shopify-cli-1.0.0 lib/docgen/class_template.md.erb
shopify-cli-0.9.3 lib/docgen/class_template.md.erb
shopify-cli-0.9.2 lib/docgen/class_template.md.erb
shopify-cli-0.9.1 lib/docgen/class_template.md.erb
shopify-cli-0.9.0 lib/docgen/class_template.md.erb