Lines Matching refs:methods
4 # A Context is something that can hold modules, classes, methods, attributes,
13 # Types of methods
29 # All attr* methods
101 # Hash of registered methods. Attributes are also registered here,
139 # Sets the defaults for methods and so-forth
564 # This means any of: comment, aliases, methods, attributes, external
603 # Class methods
705 # Iterator for methods
718 # To retrieve methods in a section use #methods_by_type with the optional
907 # Does this context and its methods and constants all have documentation?
937 # Instance methods
949 # If +section+ is provided only methods in that RDoc::Context::Section will
953 methods = {}
961 methods[type] = visibilities
966 methods[method.type][method.visibility] << method
969 methods
973 # Yields AnyMethod and Attr entries matching the list of names in +methods+.
975 def methods_matching(methods, singleton = false, &block)
977 yield m if methods.include?(m.name) and m.singleton == singleton
981 parent.methods_matching(methods, singleton, &block)
1008 # Changes the visibility for new methods to +visibility+
1040 # Removes methods and attributes with a visibility less than +min_visibility+.
1125 # Given an array +methods+ of method names, set the visibility of each to
1128 def set_visibility_for(methods, visibility, singleton = false)
1129 methods_matching methods, singleton do |m|