File: methodmissing.erb

package info (click to toggle)
yard 0.9.16-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,472 kB
  • sloc: ruby: 29,854; makefile: 24
file content (12 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (10)
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>