-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
344 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,269 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title> | ||
Module: RedBlackTree::DataDelegation | ||
|
||
— Documentation by YARD 0.9.36 | ||
|
||
</title> | ||
|
||
<link rel="stylesheet" href="../css/style.css" type="text/css" /> | ||
|
||
<link rel="stylesheet" href="../css/common.css" type="text/css" /> | ||
|
||
<script type="text/javascript"> | ||
pathId = "RedBlackTree::DataDelegation"; | ||
relpath = '../'; | ||
</script> | ||
|
||
|
||
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script> | ||
|
||
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script> | ||
|
||
|
||
</head> | ||
<body> | ||
<div class="nav_wrap"> | ||
<iframe id="nav" src="../class_list.html?1"></iframe> | ||
<div id="resizer"></div> | ||
</div> | ||
|
||
<div id="main" tabindex="-1"> | ||
<div id="header"> | ||
<div id="menu"> | ||
|
||
<a href="../_index.html">Index (D)</a> » | ||
<span class='title'><span class='object_link'><a href="../RedBlackTree.html" title="RedBlackTree (class)">RedBlackTree</a></span></span> | ||
» | ||
<span class="title">DataDelegation</span> | ||
|
||
</div> | ||
|
||
<div id="search"> | ||
|
||
<a class="full_list_link" id="class_list_link" | ||
href="../class_list.html"> | ||
|
||
<svg width="24" height="24"> | ||
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> | ||
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> | ||
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> | ||
</svg> | ||
</a> | ||
|
||
</div> | ||
<div class="clear"></div> | ||
</div> | ||
|
||
<div id="content"><h1>Module: RedBlackTree::DataDelegation | ||
|
||
|
||
|
||
</h1> | ||
<div class="box_info"> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<dl> | ||
<dt>Included in:</dt> | ||
<dd><span class='object_link'><a href="Node.html" title="RedBlackTree::Node (class)">Node</a></span></dd> | ||
</dl> | ||
|
||
|
||
|
||
<dl> | ||
<dt>Defined in:</dt> | ||
<dd>lib/red_black_tree/node/data_delegation.rb</dd> | ||
</dl> | ||
|
||
</div> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<h2> | ||
Instance Method Summary | ||
<small><a href="#" class="summary_toggle">collapse</a></small> | ||
</h2> | ||
|
||
<ul class="summary"> | ||
|
||
<li class="public "> | ||
<span class="summary_signature"> | ||
|
||
<a href="#method_missing-instance_method" title="#method_missing (instance method)">#<strong>method_missing</strong>(method_name, *args, &block) ⇒ Object </a> | ||
|
||
|
||
|
||
</span> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<span class="summary_desc"><div class='inline'></div></span> | ||
|
||
</li> | ||
|
||
|
||
<li class="public "> | ||
<span class="summary_signature"> | ||
|
||
<a href="#respond_to_missing%3F-instance_method" title="#respond_to_missing? (instance method)">#<strong>respond_to_missing?</strong>(method_name, include_private = false) ⇒ Boolean </a> | ||
|
||
|
||
|
||
</span> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<span class="summary_desc"><div class='inline'></div></span> | ||
|
||
</li> | ||
|
||
|
||
</ul> | ||
|
||
|
||
<div id="method_missing_details" class="method_details_list"> | ||
<h2>Dynamic Method Handling</h2> | ||
<p class="notice this"> | ||
This class handles dynamic methods through the <tt>method_missing</tt> method | ||
|
||
</p> | ||
|
||
<div class="method_details first"> | ||
<h3 class="signature first" id="method_missing-instance_method"> | ||
|
||
#<strong>method_missing</strong>(method_name, *args, &block) ⇒ <tt>Object</tt> | ||
|
||
|
||
|
||
|
||
|
||
</h3><table class="source_code"> | ||
<tr> | ||
<td> | ||
<pre class="lines"> | ||
|
||
|
||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11</pre> | ||
</td> | ||
<td> | ||
<pre class="code"><span class="info file"># File 'lib/red_black_tree/node/data_delegation.rb', line 5</span> | ||
|
||
<span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='id identifier rubyid_method_name'>method_name</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> | ||
<span class='kw'>if</span> <span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='id identifier rubyid_method_name'>method_name</span><span class='rparen'>)</span> | ||
<span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_public_send'>public_send</span><span class='lparen'>(</span><span class='id identifier rubyid_method_name'>method_name</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> | ||
<span class='kw'>else</span> | ||
<span class='kw'>super</span> | ||
<span class='kw'>end</span> | ||
<span class='kw'>end</span></pre> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<div id="instance_method_details" class="method_details_list"> | ||
<h2>Instance Method Details</h2> | ||
|
||
|
||
<div class="method_details first"> | ||
<h3 class="signature first" id="respond_to_missing?-instance_method"> | ||
|
||
#<strong>respond_to_missing?</strong>(method_name, include_private = false) ⇒ <tt>Boolean</tt> | ||
|
||
|
||
|
||
|
||
|
||
</h3><div class="docstring"> | ||
<div class="discussion"> | ||
|
||
|
||
</div> | ||
</div> | ||
<div class="tags"> | ||
|
||
<p class="tag_title">Returns:</p> | ||
<ul class="return"> | ||
|
||
<li> | ||
|
||
|
||
<span class='type'>(<tt>Boolean</tt>)</span> | ||
|
||
|
||
|
||
</li> | ||
|
||
</ul> | ||
|
||
</div><table class="source_code"> | ||
<tr> | ||
<td> | ||
<pre class="lines"> | ||
|
||
|
||
13 | ||
14 | ||
15</pre> | ||
</td> | ||
<td> | ||
<pre class="code"><span class="info file"># File 'lib/red_black_tree/node/data_delegation.rb', line 13</span> | ||
|
||
<span class='kw'>def</span> <span class='id identifier rubyid_respond_to_missing?'>respond_to_missing?</span><span class='lparen'>(</span><span class='id identifier rubyid_method_name'>method_name</span><span class='comma'>,</span> <span class='id identifier rubyid_include_private'>include_private</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span> | ||
<span class='ivar'>@data</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='id identifier rubyid_method_name'>method_name</span><span class='comma'>,</span> <span class='id identifier rubyid_include_private'>include_private</span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>super</span> | ||
<span class='kw'>end</span></pre> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
<div id="footer"> | ||
Generated on Mon Oct 21 12:44:24 2024 by | ||
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> | ||
0.9.36 (ruby-3.3.5). | ||
</div> | ||
|
||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.