shenanigans 1.0.11 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/doc/Array.html +57 -56
- data/doc/Fixnum.html +47 -46
- data/doc/Hash.html +61 -59
- data/doc/Kernel.html +57 -59
- data/doc/Module.html +49 -48
- data/doc/Object.html +51 -49
- data/doc/String.html +51 -49
- data/doc/_index.html +28 -31
- data/doc/class_list.html +24 -27
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +251 -90
- data/doc/file.README.html +30 -32
- data/doc/file_list.html +26 -26
- data/doc/frames.html +7 -16
- data/doc/index.html +30 -32
- data/doc/js/app.js +106 -77
- data/doc/js/full_list.js +170 -132
- data/doc/method_list.html +108 -76
- data/doc/top-level-namespace.html +34 -36
- data/lib/shenanigans/kernel/fn.rb +1 -1
- data/lib/shenanigans/kernel/prompt.rb +1 -1
- data/lib/shenanigans/kernel/require_optional.rb +1 -1
- data/lib/shenanigans/kernel/with.rb +1 -1
- data/lib/shenanigans/module/private_accessor.rb +1 -1
- metadata +3 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<!DOCTYPE html
|
|
2
|
-
|
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
4
3
|
<head>
|
|
5
|
-
<meta
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.
|
|
9
|
+
— Documentation by YARD 0.9.12
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
|
-
|
|
18
|
+
pathId = "";
|
|
19
19
|
relpath = '';
|
|
20
|
-
framesUrl = "frames.html#!" + escape(window.location.href);
|
|
21
20
|
</script>
|
|
22
21
|
|
|
23
22
|
|
|
@@ -28,58 +27,56 @@
|
|
|
28
27
|
|
|
29
28
|
</head>
|
|
30
29
|
<body>
|
|
31
|
-
<div
|
|
32
|
-
<
|
|
30
|
+
<div class="nav_wrap">
|
|
31
|
+
<iframe id="nav" src="class_list.html?1"></iframe>
|
|
32
|
+
<div id="resizer"></div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div id="main" tabindex="-1">
|
|
36
|
+
<div id="header">
|
|
37
|
+
<div id="menu">
|
|
33
38
|
|
|
34
39
|
<a href="_index.html">Index</a> »
|
|
35
40
|
|
|
36
41
|
|
|
37
42
|
<span class="title">Top Level Namespace</span>
|
|
38
43
|
|
|
39
|
-
|
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
44
|
</div>
|
|
42
45
|
|
|
43
|
-
|
|
46
|
+
<div id="search">
|
|
44
47
|
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
|
46
49
|
href="class_list.html">
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
</a>
|
|
54
|
-
|
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
|
56
|
-
href="file_list.html">
|
|
57
|
-
File List
|
|
50
|
+
|
|
51
|
+
<svg width="24" height="24">
|
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
|
55
|
+
</svg>
|
|
58
56
|
</a>
|
|
59
57
|
|
|
60
58
|
</div>
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
<div class="clear"></div>
|
|
60
|
+
</div>
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<div id="content"><h1>Top Level Namespace
|
|
62
|
+
<div id="content"><h1>Top Level Namespace
|
|
67
63
|
|
|
68
64
|
|
|
69
65
|
|
|
70
66
|
</h1>
|
|
67
|
+
<div class="box_info">
|
|
68
|
+
|
|
71
69
|
|
|
72
|
-
<dl class="box">
|
|
73
70
|
|
|
74
71
|
|
|
75
|
-
|
|
76
72
|
|
|
77
|
-
|
|
78
73
|
|
|
79
74
|
|
|
75
|
+
|
|
80
76
|
|
|
81
|
-
|
|
82
|
-
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
</div>
|
|
83
80
|
|
|
84
81
|
<h2>Defined Under Namespace</h2>
|
|
85
82
|
<p class="children">
|
|
@@ -104,11 +101,12 @@
|
|
|
104
101
|
|
|
105
102
|
</div>
|
|
106
103
|
|
|
107
|
-
|
|
108
|
-
Generated on
|
|
104
|
+
<div id="footer">
|
|
105
|
+
Generated on Thu Feb 1 16:36:54 2018 by
|
|
109
106
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
110
|
-
0.
|
|
107
|
+
0.9.12 (ruby-2.5.0).
|
|
111
108
|
</div>
|
|
112
109
|
|
|
110
|
+
</div>
|
|
113
111
|
</body>
|
|
114
112
|
</html>
|
|
@@ -14,7 +14,7 @@ module Kernel
|
|
|
14
14
|
# prompt("Prompt> ", :to_f)
|
|
15
15
|
# Prompt> 12
|
|
16
16
|
# #=> 12.0
|
|
17
|
-
def prompt(text='', conversion=nil)
|
|
17
|
+
def prompt(text='', conversion=nil) #:doc:
|
|
18
18
|
print text unless text.empty?
|
|
19
19
|
input = gets.chomp
|
|
20
20
|
CONVERSIONS.include?(conversion) ? input.send(conversion) : input
|
|
@@ -4,7 +4,7 @@ class Module
|
|
|
4
4
|
# for enforcing Smalltalk-style internal encapsulation.
|
|
5
5
|
#
|
|
6
6
|
# For a more complete implementation of a similar feature see {ivar_encapsulation}[https://github.com/citizen428/ivar_encapsulation].
|
|
7
|
-
def private_accessor(*names)
|
|
7
|
+
def private_accessor(*names) #:doc:
|
|
8
8
|
names.each do |name|
|
|
9
9
|
instance_var_name = "@#{name}"
|
|
10
10
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shenanigans
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Kohl
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: A collection of extensions for various Ruby core classes.
|
|
14
14
|
email: citizen428@gmail.com
|
|
@@ -102,9 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.
|
|
105
|
+
rubygems_version: 2.7.3
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: Think Facets, just less useful
|
|
109
109
|
test_files: []
|
|
110
|
-
has_rdoc:
|