Sha256: 266d5381a93e78810df3ed53d95ae08d19fabf515d0602bb8d87d45a203657b7

Contents?: true

Size: 1.84 KB

Versions: 3

Compression:

Stored size: 1.84 KB

Contents

<ul class='breadcrumb'>
  <% dsl_sections.each do |section| %>
    <% if section == @section %>
      <li class='active'><a href='<%= @doc[:doc_url] %><%= section_ext(section) %><%= @doc[:link_extension] %>'><%= t("apipie_dsl.#{@section}") %></a></li>
    <% else %>
      <li><a href='<%= @doc[:doc_url] %><%= section_ext(section) %><%= @doc[:link_extension] %>'><%= t("apipie_dsl.#{section}") %></a></li>
    <% end %>
  <% end %>
  <% unless ApipieDSL.configuration.help_layout.nil? %>
    <li class='pull-right'>
      <% section = 'help' %>
      <a href='<%= @doc[:doc_url] %><%= section_ext(section) %><%= @doc[:link_extension] %>'><%= t("apipie_dsl.#{section}") %></a>
    </li>
  <% end %>
</ul>
<ul class='breadcrumb'>
  <li>
    <a href='<%= @doc[:doc_url] %><%= section_ext(@section) %><%= @doc[:link_extension] %>'><%= @doc[:name] %> <%= @klass[:version] %></a>
    <span class='divider'>/</span>
  </li>
  <li>
    <a href='<%= @klass[:doc_url] %><%= @doc[:link_extension] %>'>
      <%= @klass[:name] %>
    </a>
    <span class='divider'>/</span>
  </li>
  <li class='active'><%= @method[:name] %></li>
  <%= render(:partial => 'languages', :locals => {:doc_url => @method[:doc_url]}) %>
</ul>

<div class='page-header'>
  <h1>
    <%= method_signature(@method) %>
    <% if @method[:deprecated] %>
      <code>DEPRECATED</code>
    <% end %>
    <br>
    <small><%= raw @method[:short_description] %></small>
  </h1>
</div>

<div>
  <% unless @method[:see].empty? %>
    Also see <%= @method[:see].map { |s| link_to(s[:description] || s[:link], "#{s[:url]}#{@doc[:link_extension]}") }.to_sentence.html_safe %>.
  <% end %>

  <%= render(:partial => 'method_detail', :locals => {:method => @method, :h_level => 2}) %>
</div>

<% unless content_for(:apipie_dsl_footer) == @doc[:copyright] %>
  <%= content_for :apipie_dsl_footer, raw(@doc[:copyright]) %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
apipie-dsl-2.1.1 app/views/apipie_dsl/apipie_dsls/method.html.erb
apipie-dsl-2.1.0 app/views/apipie_dsl/apipie_dsls/method.html.erb
apipie-dsl-2.0.0 app/views/apipie_dsl/apipie_dsls/method.html.erb