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-2.36.0 lib/docgen/class_template.md.erb
shopify-cli-2.35.0 lib/docgen/class_template.md.erb
shopify-cli-2.34.0 lib/docgen/class_template.md.erb
shopify-cli-2.33.1 lib/docgen/class_template.md.erb
shopify-cli-2.33.0 lib/docgen/class_template.md.erb
shopify-cli-2.32.1 lib/docgen/class_template.md.erb
shopify-cli-2.32.0 lib/docgen/class_template.md.erb
shopify-cli-2.31.0 lib/docgen/class_template.md.erb
shopify-cli-2.30.0 lib/docgen/class_template.md.erb
shopify-cli-2.29.0 lib/docgen/class_template.md.erb
shopify-cli-2.28.0 lib/docgen/class_template.md.erb
shopify-cli-2.27.0 lib/docgen/class_template.md.erb
shopify-cli-2.26.0 lib/docgen/class_template.md.erb
shopify-cli-2.25.0 lib/docgen/class_template.md.erb
shopify-cli-2.24.0 lib/docgen/class_template.md.erb
shopify-cli-2.23.0 lib/docgen/class_template.md.erb
shopify-cli-2.22.0 lib/docgen/class_template.md.erb
shopify-cli-2.21.0 lib/docgen/class_template.md.erb
shopify-cli-2.20.1 lib/docgen/class_template.md.erb
shopify-cli-2.20.0 lib/docgen/class_template.md.erb