Sha256: c2458de354dd76a4c908099035466d9dd3433cba05926fedd108bae41b27d304

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

<p class="returns-tag">
  <% if @is_list %>
    Returns a list of
  <% else %>
    Returns <%= %w[a e i o u].include?(@resource_name[0]) ? 'an' : 'a' %>
  <% end %>

  <a href='<%= @resource_name %>.html#<%= @object_name %>'>
    <%= @is_list ? @object_name.pluralize : @object_name %>
  </a>
</p>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yard-api-0.3.0 templates/api/tags/html/returns.erb