whats_up 1.2 → 1.2.1
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.
- data/lib/whats_up/version.rb +1 -1
- data/lib/whats_up.rb +22 -18
- data/spec/spec_helper.rb +1 -1
- data/whats_up.gemspec +1 -1
- metadata +1 -1
data/lib/whats_up/version.rb
CHANGED
data/lib/whats_up.rb
CHANGED
@@ -1,31 +1,35 @@
|
|
1
|
-
#
|
2
|
-
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
1
|
+
# whats_up enables you to determine what methods can be called on an object that return a given
|
2
|
+
# value
|
3
|
+
#
|
4
|
+
# === Some credits from Dr. Nic
|
5
|
+
#
|
6
|
+
# Code this version is based on: {Andrew
|
7
|
+
# Birkett's}[http://www.nobugs.org/developer/ruby/method_finder.html]
|
8
|
+
#
|
9
|
+
# Improvements from Why's blog entry:
|
10
|
+
# * +what?+ - Why
|
11
|
+
# * <tt>@@blacklist</tt> - llasram
|
12
|
+
# * +clone+ alias - Daniel Schierbeck
|
13
|
+
# * <tt>$stdout</tt> redirect - Why
|
14
|
+
#
|
15
|
+
# {Improvements from Nikolas Coukouma}[http://atrustheotaku.livejournal.com/339449.html]
|
11
16
|
# * Varargs and block support
|
12
17
|
# * Improved catching
|
13
|
-
# * Redirecting
|
14
|
-
#
|
18
|
+
# * Redirecting <tt>$stdout</tt> and <tt>$stderr</tt> (independently of Why)
|
19
|
+
#
|
20
|
+
# {A version posted in 2002 by Steven
|
21
|
+
# Grady}[http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/32844]
|
15
22
|
#
|
16
|
-
# A version posted in 2002 by Steven Grady:
|
17
|
-
# http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/32844
|
18
23
|
# David Tran's versions:
|
19
|
-
# * Simple
|
20
|
-
#
|
21
|
-
# * Checks permutations of arguments
|
22
|
-
# http://www.doublegifts.com/pub/ruby/methodfinder2.rb.html
|
24
|
+
# * Simple[http://www.doublegifts.com/pub/ruby/methodfinder.rb.html]
|
25
|
+
# * {Checks permutations of arguments}[http://www.doublegifts.com/pub/ruby/methodfinder2.rb.html]
|
23
26
|
module WhatsUp
|
24
27
|
autoload :Classic, "whats_up/classic"
|
25
28
|
autoload :DummyOut, "whats_up/dummy_out"
|
26
29
|
autoload :FrozenSection, "whats_up/frozen_section"
|
27
30
|
autoload :MethodFinder, "whats_up/method_finder"
|
28
31
|
autoload :Methods, "whats_up/methods"
|
32
|
+
autoload :VERSION, "whats_up/version"
|
29
33
|
end
|
30
34
|
|
31
35
|
class Object # :nodoc:
|
data/spec/spec_helper.rb
CHANGED
data/whats_up.gemspec
CHANGED