Sha256: e50bd73ba3623eb6f918381524d8e5f7c240baa502261b2e727c90b110c9fe5b

Contents?: true

Size: 1.28 KB

Versions: 138

Compression:

Stored size: 1.28 KB

Contents

<div class="method_header">
  <% if options.in_module %>
    <% if object.constructor? %>
      <em>self.</em><span class="path"><strong>new</strong></span><big>(</big><%= format_args(object) %><big>)</big> <%= format_block(object) %>
    <% else %>
      <em><%= object.scope == :class ? 'self.' : '' %></em><span class="path"><strong><%= object.is_attribute? ? object.name.to_s.sub(/=$/, '') : object.name %></strong></span><% if object.is_attribute? %>
        <% rw = object.attr_info %>
        <% if rw && rw[:read] && !rw[:write] %><span class="readonly">readonly</span>
        <% elsif rw && !rw[:read] && rw[:write] %><span class="writeonly">writeonly</span>
        <% end %>
        <% else %><big>(</big><%= format_args(object) %><big>)</big> <%= format_block(object) %><% end %>
    <% end %>
  <% else %>
    <em>def</em> <span class="path space"><%= options.including_object.relative_path(object.namespace) %><big><%= object.send(:sep) %></big><strong><%= object.name %></strong></span><big>(</big><%= format_args(object) %><big>)</big> <%= format_block(object) %>
  <% end %>
  <% if object.has_tag?(:since) && object.namespace.tag(:since) != object.tag(:since) %><span class="since">since <%= object.tag(:since).text %></span><% end %>
</div>
<div class="method_body"><%= yieldall %></div>

Version data entries

138 entries across 119 versions & 15 rubygems

Version Path
mango-0.7.1 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb
mango-0.7.0 vendor/bundler/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb
climine-0.0.2 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb
climine-0.0.1 vendor/bundle/ruby/2.0.0/gems/yard-0.8.7.3/templates/guide/method/html/header.erb
yard-0.8.7.3 templates/guide/method/html/header.erb
yard-0.8.7.2 templates/guide/method/html/header.erb
candlepin-api-0.4.0 bundle/ruby/gems/yard-0.8.7/templates/guide/method/html/header.erb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/yard-0.8.7/templates/guide/method/html/header.erb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/yard-0.8.7/templates/guide/method/html/header.erb
yard-0.8.7.1 templates/guide/method/html/header.erb
yard-0.8.7 templates/guide/method/html/header.erb
challah-1.0.0 vendor/bundle/gems/yard-0.8.6.1/templates/guide/method/html/header.erb
yard-0.8.6.2 templates/guide/method/html/header.erb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6/templates/guide/method/html/header.erb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.5.2/templates/guide/method/html/header.erb
challah-1.0.0.beta3 vendor/bundle/gems/yard-0.8.6.1/templates/guide/method/html/header.erb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/method/html/header.erb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/yard-0.8.6.1/templates/guide/method/html/header.erb
yard-0.8.6.1 templates/guide/method/html/header.erb
challah-1.0.0.beta2 vendor/bundle/gems/yard-0.8.6/templates/guide/method/html/header.erb