rubycube 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cube.gemspec +3 -1
- data/examples/demo.rb +13 -8
- data/examples/traits.rb +26 -10
- data/lib/cube/interfaces.rb +11 -45
- data/lib/cube/toplevel.rb +28 -39
- data/lib/cube/traits.rb +0 -32
- data/rubycube-0.3.0.gem +0 -0
- data/test/test_interface.rb +9 -5
- metadata +34 -68
- data/doc/Bar.html +0 -102
- data/doc/CHANGES.html +0 -159
- data/doc/Foo.html +0 -184
- data/doc/Interface.html +0 -278
- data/doc/Interface/MethodMissing.html +0 -104
- data/doc/Interface/PrivateVisibleMethodMissing.html +0 -102
- data/doc/Interface/PublicVisibleMethodMissing.html +0 -102
- data/doc/MANIFEST.html +0 -114
- data/doc/Module.html +0 -153
- data/doc/MyClass.html +0 -234
- data/doc/MyInterface.html +0 -106
- data/doc/MySubInterface.html +0 -110
- data/doc/Object.html +0 -299
- data/doc/README.html +0 -222
- data/doc/Rakefile.html +0 -148
- data/doc/TC_Interface.html +0 -438
- data/doc/certs/djberg96_pub_pem.html +0 -110
- data/doc/created.rid +0 -13
- data/doc/css/fonts.css +0 -167
- data/doc/css/rdoc.css +0 -590
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -121
- data/doc/interface_gemspec.html +0 -121
- data/doc/js/darkfish.js +0 -161
- data/doc/js/jquery.js +0 -4
- data/doc/js/navigation.js +0 -142
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search.js +0 -109
- data/doc/js/search_index.js +0 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js +0 -228
- data/doc/js/searcher.js.gz +0 -0
- data/doc/table_of_contents.html +0 -227
@@ -1,104 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Interface::MethodMissing - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "../";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="../js/jquery.js"></script>
|
14
|
-
<script src="../js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="class">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="../index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div id="class-metadata">
|
56
|
-
|
57
|
-
<div id="parent-class-section" class="nav-section">
|
58
|
-
<h3>Parent</h3>
|
59
|
-
|
60
|
-
|
61
|
-
<p class="link">RuntimeError
|
62
|
-
|
63
|
-
</div>
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</div>
|
69
|
-
</nav>
|
70
|
-
|
71
|
-
<main role="main" aria-labelledby="class-Interface::MethodMissing">
|
72
|
-
<h1 id="class-Interface::MethodMissing" class="class">
|
73
|
-
class Interface::MethodMissing
|
74
|
-
</h1>
|
75
|
-
|
76
|
-
<section class="description">
|
77
|
-
|
78
|
-
<p>Raised if a class or instance does not meet the interface requirements.</p>
|
79
|
-
|
80
|
-
</section>
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
</section>
|
96
|
-
</main>
|
97
|
-
|
98
|
-
|
99
|
-
<footer id="validator-badges" role="contentinfo">
|
100
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
101
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
102
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
103
|
-
</footer>
|
104
|
-
|
@@ -1,102 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Interface::PrivateVisibleMethodMissing - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "../";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="../js/jquery.js"></script>
|
14
|
-
<script src="../js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="class">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="../index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div id="class-metadata">
|
56
|
-
|
57
|
-
<div id="parent-class-section" class="nav-section">
|
58
|
-
<h3>Parent</h3>
|
59
|
-
|
60
|
-
|
61
|
-
<p class="link"><a href="MethodMissing.html">Interface::MethodMissing</a>
|
62
|
-
|
63
|
-
</div>
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</div>
|
69
|
-
</nav>
|
70
|
-
|
71
|
-
<main role="main" aria-labelledby="class-Interface::PrivateVisibleMethodMissing">
|
72
|
-
<h1 id="class-Interface::PrivateVisibleMethodMissing" class="class">
|
73
|
-
class Interface::PrivateVisibleMethodMissing
|
74
|
-
</h1>
|
75
|
-
|
76
|
-
<section class="description">
|
77
|
-
|
78
|
-
</section>
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</section>
|
94
|
-
</main>
|
95
|
-
|
96
|
-
|
97
|
-
<footer id="validator-badges" role="contentinfo">
|
98
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
99
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
100
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
101
|
-
</footer>
|
102
|
-
|
@@ -1,102 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Interface::PublicVisibleMethodMissing - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "../";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="../js/jquery.js"></script>
|
14
|
-
<script src="../js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="../css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="../css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="class">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="../index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="../table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="../table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="../table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div id="class-metadata">
|
56
|
-
|
57
|
-
<div id="parent-class-section" class="nav-section">
|
58
|
-
<h3>Parent</h3>
|
59
|
-
|
60
|
-
|
61
|
-
<p class="link"><a href="MethodMissing.html">Interface::MethodMissing</a>
|
62
|
-
|
63
|
-
</div>
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
</div>
|
69
|
-
</nav>
|
70
|
-
|
71
|
-
<main role="main" aria-labelledby="class-Interface::PublicVisibleMethodMissing">
|
72
|
-
<h1 id="class-Interface::PublicVisibleMethodMissing" class="class">
|
73
|
-
class Interface::PublicVisibleMethodMissing
|
74
|
-
</h1>
|
75
|
-
|
76
|
-
<section class="description">
|
77
|
-
|
78
|
-
</section>
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
</section>
|
94
|
-
</main>
|
95
|
-
|
96
|
-
|
97
|
-
<footer id="validator-badges" role="contentinfo">
|
98
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
99
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
100
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
101
|
-
</footer>
|
102
|
-
|
data/doc/MANIFEST.html
DELETED
@@ -1,114 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>MANIFEST - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="./js/jquery.js"></script>
|
14
|
-
<script src="./js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="file">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="./index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div id="project-metadata">
|
56
|
-
<div id="fileindex-section" class="nav-section">
|
57
|
-
<h3>Pages</h3>
|
58
|
-
|
59
|
-
<ul class="link-list">
|
60
|
-
|
61
|
-
<li><a href="./CHANGES.html">CHANGES</a>
|
62
|
-
|
63
|
-
<li><a href="./MANIFEST.html">MANIFEST</a>
|
64
|
-
|
65
|
-
<li><a href="./README.html">README</a>
|
66
|
-
|
67
|
-
<li><a href="./Rakefile.html">Rakefile</a>
|
68
|
-
|
69
|
-
<li><a href="./certs/djberg96_pub_pem.html">djberg96_pub.pem</a>
|
70
|
-
|
71
|
-
<li><a href="./interface_gemspec.html">interface.gemspec</a>
|
72
|
-
|
73
|
-
</ul>
|
74
|
-
</div>
|
75
|
-
|
76
|
-
</div>
|
77
|
-
</nav>
|
78
|
-
|
79
|
-
<main role="main" aria-label="Page MANIFEST">
|
80
|
-
<ul><li>
|
81
|
-
<p><a href="CHANGES.html">CHANGES</a></p>
|
82
|
-
</li><li>
|
83
|
-
<p><a href="MANIFEST.html">MANIFEST</a></p>
|
84
|
-
</li><li>
|
85
|
-
<p><a href="README.html">README</a></p>
|
86
|
-
</li><li>
|
87
|
-
<p><a href="Rakefile.html">Rakefile</a></p>
|
88
|
-
</li><li>
|
89
|
-
<p><a href="interface_gemspec.html">interface.gemspec</a></p>
|
90
|
-
</li><li>
|
91
|
-
<p><a href="certs/djberg96_pub_pem.html">certs/djberg96_pub.pem</a></p>
|
92
|
-
</li><li>
|
93
|
-
<p>examples/example_instance.rb</p>
|
94
|
-
</li><li>
|
95
|
-
<p>examples/example_interface.rb</p>
|
96
|
-
</li><li>
|
97
|
-
<p>examples/example_sub.rb</p>
|
98
|
-
</li><li>
|
99
|
-
<p>examples/example_unrequire.rb</p>
|
100
|
-
</li><li>
|
101
|
-
<p>lib/interface.rb</p>
|
102
|
-
</li><li>
|
103
|
-
<p>test/test_interface.rb</p>
|
104
|
-
</li></ul>
|
105
|
-
</main>
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
<footer id="validator-badges" role="contentinfo">
|
110
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
111
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
112
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
113
|
-
</footer>
|
114
|
-
|
data/doc/Module.html
DELETED
@@ -1,153 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta charset="UTF-8">
|
6
|
-
|
7
|
-
<title>class Module - RDoc Documentation</title>
|
8
|
-
|
9
|
-
<script type="text/javascript">
|
10
|
-
var rdoc_rel_prefix = "./";
|
11
|
-
</script>
|
12
|
-
|
13
|
-
<script src="./js/jquery.js"></script>
|
14
|
-
<script src="./js/darkfish.js"></script>
|
15
|
-
|
16
|
-
<link href="./css/fonts.css" rel="stylesheet">
|
17
|
-
<link href="./css/rdoc.css" rel="stylesheet">
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<body id="top" role="document" class="class">
|
22
|
-
<nav role="navigation">
|
23
|
-
<div id="project-navigation">
|
24
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
25
|
-
<h2>
|
26
|
-
<a href="./index.html" rel="home">Home</a>
|
27
|
-
</h2>
|
28
|
-
|
29
|
-
<div id="table-of-contents-navigation">
|
30
|
-
<a href="./table_of_contents.html#pages">Pages</a>
|
31
|
-
<a href="./table_of_contents.html#classes">Classes</a>
|
32
|
-
<a href="./table_of_contents.html#methods">Methods</a>
|
33
|
-
</div>
|
34
|
-
</div>
|
35
|
-
|
36
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
37
|
-
<form action="#" method="get" accept-charset="utf-8">
|
38
|
-
<div id="search-field-wrapper">
|
39
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
40
|
-
aria-autocomplete="list" aria-controls="search-results"
|
41
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
42
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<ul id="search-results" aria-label="Search Results"
|
46
|
-
aria-busy="false" aria-expanded="false"
|
47
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
48
|
-
</form>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
</div>
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<div id="class-metadata">
|
56
|
-
|
57
|
-
<div id="parent-class-section" class="nav-section">
|
58
|
-
<h3>Parent</h3>
|
59
|
-
|
60
|
-
|
61
|
-
<p class="link"><a href="Object.html">Object</a>
|
62
|
-
|
63
|
-
</div>
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
<!-- Method Quickref -->
|
68
|
-
<div id="method-list-section" class="nav-section">
|
69
|
-
<h3>Methods</h3>
|
70
|
-
|
71
|
-
<ul class="link-list" role="directory">
|
72
|
-
|
73
|
-
<li ><a href="#method-i-implements-3F">#implements?</a>
|
74
|
-
|
75
|
-
</ul>
|
76
|
-
</div>
|
77
|
-
|
78
|
-
</div>
|
79
|
-
</nav>
|
80
|
-
|
81
|
-
<main role="main" aria-labelledby="class-Module">
|
82
|
-
<h1 id="class-Module" class="class">
|
83
|
-
class Module
|
84
|
-
</h1>
|
85
|
-
|
86
|
-
<section class="description">
|
87
|
-
|
88
|
-
</section>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
<section id="5Buntitled-5D" class="documentation-section">
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
<section id="public-instance-5Buntitled-5D-method-details" class="method-section">
|
104
|
-
<header>
|
105
|
-
<h3>Public Instance Methods</h3>
|
106
|
-
</header>
|
107
|
-
|
108
|
-
|
109
|
-
<div id="method-i-implements-3F" class="method-detail ">
|
110
|
-
|
111
|
-
<div class="method-heading">
|
112
|
-
<span class="method-name">implements?</span><span
|
113
|
-
class="method-args">(mod)</span>
|
114
|
-
|
115
|
-
<span class="method-click-advice">click to toggle source</span>
|
116
|
-
|
117
|
-
</div>
|
118
|
-
|
119
|
-
|
120
|
-
<div class="method-description">
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
<div class="method-source-code" id="implements-3F-source">
|
128
|
-
<pre><span class="ruby-comment"># File lib/interface.rb, line 170</span>
|
129
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier">implements?</span>(<span class="ruby-identifier">mod</span>)
|
130
|
-
<span class="ruby-keyword">self</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">mod</span> <span class="ruby-operator">&&</span> <span class="ruby-identifier">include?</span>(<span class="ruby-identifier">mod</span>)
|
131
|
-
<span class="ruby-keyword">end</span></pre>
|
132
|
-
</div>
|
133
|
-
|
134
|
-
</div>
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
</div>
|
140
|
-
|
141
|
-
|
142
|
-
</section>
|
143
|
-
|
144
|
-
</section>
|
145
|
-
</main>
|
146
|
-
|
147
|
-
|
148
|
-
<footer id="validator-badges" role="contentinfo">
|
149
|
-
<p><a href="http://validator.w3.org/check/referer">Validate</a>
|
150
|
-
<p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
|
151
|
-
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
152
|
-
</footer>
|
153
|
-
|