File: methodmissing.erb

package info (click to toggle)
ruby-enumerable-statistics 2.0.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,036 kB
  • sloc: ansic: 1,808; ruby: 679; makefile: 11; sh: 4
file content (12 lines) | stat: -rwxr-xr-x 468 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
<div id="method_missing_details" class="method_details_list">
  <h2>Dynamic Method Handling</h2>
  <p class="notice <%= @mm.namespace == object ? 'this' : 'super' %>">
    This class handles dynamic methods through the <tt>method_missing</tt> method
    <% if @mm.namespace != object %>
      in the class <%= linkify @mm, @mm.namespace.path %>
    <% end %>
  </p>
  <% if @mm.namespace == object %>
    <%= yieldall :object => @mm, :index => 0 %>
  <% end %>
</div>