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.
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
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
- &mdash; Documentation by YARD 0.8.7.3
9
+ &mdash; 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
- hasFrames = window.top.frames.main ? true : false;
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 id="header">
32
- <div id="menu">
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> &raquo;
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
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="method_list.html">
52
- Method List
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
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
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
- </dl>
82
- <div class="clear"></div>
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
- <div id="footer">
108
- Generated on Fri Jan 24 17:13:27 2014 by
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.8.7.3 (ruby-2.1.0).
107
+ 0.9.12 (ruby-2.5.0).
111
108
  </div>
112
109
 
110
+ </div>
113
111
  </body>
114
112
  </html>
@@ -6,7 +6,7 @@ module Kernel
6
6
  #
7
7
  # (1..3).map &fn(:next, -> x { x * x }, -> x { x.to_f / 2 } )
8
8
  # #=> [2.0, 4.5, 8.0]
9
- def fn(*funs)
9
+ def fn(*funs) #:doc:
10
10
  -> x do
11
11
  funs.inject(x) do |v,f|
12
12
  Proc === f ? f.call(v) : v.send(f)
@@ -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
@@ -9,7 +9,7 @@ module Kernel
9
9
  # puts 'Something went wrong'
10
10
  # end
11
11
  # #=> Outputs 'Something went wrong'
12
- def require_optional(gem, &block)
12
+ def require_optional(gem, &block) #:doc:
13
13
  require gem
14
14
  rescue LoadError
15
15
  block.call if block
@@ -6,7 +6,7 @@ module Kernel
6
6
  # a << "b"
7
7
  # end
8
8
  # #=> ["a", "b"]
9
- def with(o, &blk)
9
+ def with(o, &blk) #:doc:
10
10
  o.tap(&blk)
11
11
  end
12
12
 
@@ -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.11
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: 2014-01-24 00:00:00.000000000 Z
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.2.0
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: