dissociated_introspection 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36a8544f5157efb38e2cfe40ec2888847211b761
4
- data.tar.gz: f70dd03c6c9e52966e95068d59637e70e6a13714
3
+ metadata.gz: 0021d4dc41e774aaf25d008a3591f36b3daa4576
4
+ data.tar.gz: 6eafb05c95b70f617e6788b467543d2085895dd5
5
5
  SHA512:
6
- metadata.gz: cd41ba99f377e6988fa6884f44ce62b25e83b425c12d59292a971102a9c6a4120b0aa5f37a4bf7fb769a3866e5b36b0d76c44215adf1e30a5fce6eaa362920db
7
- data.tar.gz: f0fc7cdcaccbedfd83b1992a7cd040c54ff7eeead3860940f5f44e7ce7b25a10bef12e6b9aff8b0761249b17ab8f20f3f0c55ee7864169cf50fcc11d8a66ba92
6
+ metadata.gz: e192e215ce2db57d866b447a4120a7e36934b6e5ab5d102cb823c747bf5c88c0d041202198b26a1a2af54ae81b6846abbe6ab8ae2b373fd5f841a69219599ba9
7
+ data.tar.gz: 6c2a90ecb664436df2a84b0e403e012b67f220ae831e0bb0a757d618e2c933b0bca1bfffe434eea64ddd4b5117d4d9ad85cad69891c3978d285f6a81440b5c80
@@ -71,6 +71,14 @@ module DissociatedIntrospection
71
71
  end
72
72
  end
73
73
 
74
+ def inspect_methods(type=:instance_methods)
75
+ public_send(if type == :instance_methods
76
+ :defs
77
+ elsif [:methods, :class_methods].include?(type)
78
+ :class_defs
79
+ end)
80
+ end
81
+
74
82
  def class_begin
75
83
  find_class.children.find { |n| n.try(:type) == :begin } || find_class
76
84
  end
@@ -1,3 +1,3 @@
1
1
  module DissociatedIntrospection
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
@@ -8,6 +8,7 @@ require 'dissociated_introspection/ruby_code'
8
8
  require 'dissociated_introspection/ruby_class'
9
9
  require 'dissociated_introspection/ruby_class/def'
10
10
  require 'dissociated_introspection/inspection'
11
+ require 'dissociated_introspection/method_call'
11
12
 
12
13
  module DissociatedIntrospection
13
14
  LISTEN_TO_CLASS_METHODS = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dissociated_introspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler