method_extensions 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -108,7 +108,19 @@ module MethodExtensions
|
|
108
108
|
end
|
109
109
|
|
110
110
|
def full_inspect
|
111
|
-
"#{
|
111
|
+
"#{ to_s }\n#{ source_location }\n#{ source_with_doc }"
|
112
|
+
end
|
113
|
+
|
114
|
+
# Place this to the ~/.irbrc
|
115
|
+
# class Method
|
116
|
+
# alias :inspect, :irb_inspect if method_defined?(:irb_inspect)
|
117
|
+
# end
|
118
|
+
# class UnboundMethod
|
119
|
+
# alias :inspect, :irb_inspect if method_defined?(:irb_inspect)
|
120
|
+
# end
|
121
|
+
def irb_inspect
|
122
|
+
puts full_inspect
|
123
|
+
nil
|
112
124
|
end
|
113
125
|
|
114
126
|
private
|
data/method_extensions.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.unshift lib unless $:.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "method_extensions"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.3"
|
7
7
|
s.authors = ["Evgeniy Dolzhenko"]
|
8
8
|
s.email = ["dolzenko@gmail.com"]
|
9
9
|
s.homepage = "http://github.com/dolzenko/method_extensions"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Evgeniy Dolzhenko
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-28 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -42,6 +42,7 @@ rdoc_options: []
|
|
42
42
|
require_paths:
|
43
43
|
- lib
|
44
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
45
46
|
requirements:
|
46
47
|
- - ">="
|
47
48
|
- !ruby/object:Gem::Version
|
@@ -49,6 +50,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
49
50
|
- 0
|
50
51
|
version: "0"
|
51
52
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
52
54
|
requirements:
|
53
55
|
- - ">="
|
54
56
|
- !ruby/object:Gem::Version
|
@@ -58,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
60
|
requirements: []
|
59
61
|
|
60
62
|
rubyforge_project:
|
61
|
-
rubygems_version: 1.3.
|
63
|
+
rubygems_version: 1.3.7
|
62
64
|
signing_key:
|
63
65
|
specification_version: 3
|
64
66
|
summary: Method object extensions for better code navigation
|