mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-27 22:41:16 +08:00
install yard gem (v0.8.3)
This commit is contained in:
2
lib/yard/templates/default/docstring/text/abstract.erb
Normal file
2
lib/yard/templates/default/docstring/text/abstract.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<%= indent(wrap("Abstract. #{object.tag(:abstract).text}")) %>
|
||||
|
||||
2
lib/yard/templates/default/docstring/text/deprecated.erb
Normal file
2
lib/yard/templates/default/docstring/text/deprecated.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<%= indent(wrap("Deprecated. #{object.tag(:deprecated).text}")) %>
|
||||
|
||||
2
lib/yard/templates/default/docstring/text/index.erb
Normal file
2
lib/yard/templates/default/docstring/text/index.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
<%= yieldall %>
|
||||
4
lib/yard/templates/default/docstring/text/note.erb
Normal file
4
lib/yard/templates/default/docstring/text/note.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<% object.tags(:note).each do |tag| %>
|
||||
<%= indent(wrap("Note: #{tag.text}")) %>
|
||||
|
||||
<% end %>
|
||||
2
lib/yard/templates/default/docstring/text/private.erb
Normal file
2
lib/yard/templates/default/docstring/text/private.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<%= indent(wrap("This #{object.type} is part of a private API.")) %>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<%= indent(wrap("This method returns an undefined value.")) %>
|
||||
1
lib/yard/templates/default/docstring/text/text.erb
Normal file
1
lib/yard/templates/default/docstring/text/text.erb
Normal file
@@ -0,0 +1 @@
|
||||
<%= indent wrap(h(docstring_text.strip), 68) %>
|
||||
4
lib/yard/templates/default/docstring/text/todo.erb
Normal file
4
lib/yard/templates/default/docstring/text/todo.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
<% object.tags(:todo).each do |tag| %>
|
||||
<%= indent(wrap("TODO: #{tag.text}")) %>
|
||||
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user