We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b219402 + 9b1da32 commit b420744Copy full SHA for b420744
lib/rdoc/context.rb
@@ -990,13 +990,21 @@ def instance_attributes
990
@instance_attributes ||= attributes.reject { |a| a.singleton }
991
end
992
993
+ ##
994
+ # Instance methods
995
+
996
+ def instance_methods
997
+ @instance_methods ||= method_list.reject { |a| a.singleton }
998
+ end
999
1000
##
1001
# Instance methods
1002
#--
- # TODO rename to instance_methods
1003
+ # TODO remove this later
1004
1005
def instance_method_list
- @instance_method_list ||= method_list.reject { |a| a.singleton }
1006
1007
+ warn '#instance_method_list is obsoleted, please use #instance_methods'
1008
1009
1010
0 commit comments