/macosx-10.10.1/ruby-106/ruby/lib/rdoc/ |
H A D | single_class.rb | 9 def ancestors method in class:RDoc
|
H A D | normal_class.rb | 7 # The ancestors of this class including modules. Unlike Module#ancestors, 11 def ancestors method in class:RDoc 15 ancestors = super 16 ancestors << superclass 17 ancestors.concat superclass.ancestors
|
H A D | store.rb | 7 # cache of methods, classes and ancestors in the store. 14 # :ancestors => {}, # class name => ancestor names 129 :ancestors => {}, 218 # Ancestors cache accessor. Maps a klass name to an Array of its ancestors 222 def ancestors method in class:RDoc 223 @cache[:ancestors] 306 all_classes_and_modules.each { |cm| cm.ancestors } 769 clean_cache_collection @cache[:ancestors] 813 # BasicObject has no ancestors 814 ancestors [all...] |
H A D | method_attr.rb | 163 return nil unless parent.respond_to? :ancestors 165 searched = parent.ancestors
|
H A D | top_level.rb | 274 @parser and @parser.ancestors.include? RDoc::Parser::Text
|
/macosx-10.10.1/ruby-106/ruby/lib/irb/ext/ |
H A D | change-ws.rb | 39 if !(class<<main;ancestors;end).include?(ExtendCommandBundle)
|
H A D | workspaces.rb | 48 if !(class<<main;ancestors;end).include?(ExtendCommandBundle)
|
/macosx-10.10.1/ruby-106/ruby/test/rdoc/ |
H A D | test_rdoc_normal_module.rb | 18 assert_equal [incl.name], mod.ancestors 23 assert_equal [mod2, incl.name], mod.ancestors
|
H A D | test_rdoc_normal_class.rb | 13 assert_equal [incl.name, klass, 'Object'], sub_klass.ancestors 21 assert_equal [c2, c1, 'Object'], c3.ancestors
|
H A D | test_rdoc_extend.rb | 45 assert_equal ['Object'], m1_m2_k0.ancestors 62 assert_equal ['Object'], m1_k1.ancestors 77 assert_equal ['Object'], m1_k2.ancestors 90 assert_equal ['Object'], m1_k3.ancestors
|
H A D | test_rdoc_include.rb | 48 m1_m2_k0_m4, 'Object'], m1_m2_k0.ancestors 66 m1_k1.ancestors 81 assert_equal [m1_m2_k0_m4, m1_m2, m1_m3, m1, 'Object'], m1_k2.ancestors 94 assert_equal [m1_m2_m4, m1_m2, m1, 'Object'], m1_k3.ancestors
|
H A D | test_rdoc_store.rb | 82 ancestors = {}, pages = [], main = nil, title = nil 88 @s.clean_cache_collection ancestors 91 :ancestors => ancestors, 468 :ancestors => {}, 488 :ancestors => {}, 509 :ancestors => {}, 625 :ancestors => { 643 expected[:ancestors]['Object'] = %w[BasicObject] if defined?(::BasicObject) 693 :ancestors [all...] |
/macosx-10.10.1/ruby-106/ruby/test/ruby/ |
H A D | test_clone.rb | 26 assert_equal([M003, M002, M001], M003.ancestors)
|
H A D | marshaltestlib.rb | 58 (class << self; self; end).ancestors 62 (class << self; self; end).ancestors 70 (class << self; self; end).ancestors 74 (class << self; self; end).ancestors 145 (class << self; self; end).ancestors 149 (class << self; self; end).ancestors 157 (class << self; self; end).ancestors 161 (class << self; self; end).ancestors 293 (class << self; self; end).ancestors 297 (class << self; self; end).ancestors [all...] |
H A D | test_module.rb | 201 assert_equal([User, Mixin], User.ancestors) 202 assert_equal([Mixin], Mixin.ancestors) 204 ancestors = Object.ancestors 205 mixins = ancestors - [Object, Kernel, BasicObject] 207 assert_equal([Object, Kernel, BasicObject], ancestors - mixins) 208 assert_equal([String, Comparable, Object, Kernel, BasicObject], String.ancestors - mixins) 1466 assert_equal([m, c], c.ancestors[0, 2], bug6658) 1470 anc = c2.ancestors 1483 assert_equal([m0, m1], m1.ancestors, bug665 [all...] |
/macosx-10.10.1/ruby-106/ruby/lib/rexml/ |
H A D | xpath_parser.rb | 594 # except for ancestors 597 ancestors = [] 600 ancestors << p 608 if ancestors.include? p 609 ancestors.delete(p)
|
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/treeql/ |
H A D | treeql84.tcl | 219 # shim to find node ancestors by repetitive [parent] 222 set ancestors {} 225 lappend ancestors $node 228 lappend ancestors $rootname 229 return $ancestors 233 method ancestors {args} { 241 set ancestors {} 244 lappend ancestors $node 247 lappend ancestors $rootname 248 return [::struct::list reverse $ancestors] [all...] |
H A D | treeql85.tcl | 214 # shim to find node ancestors by repetitive [parent] 217 set ancestors {} 220 lappend ancestors $node 223 lappend ancestors $rootname 224 return $ancestors 228 method ancestors {args} { 236 set ancestors {} 239 lappend ancestors $node 242 lappend ancestors $rootname 243 return [::struct::list reverse $ancestors] [all...] |
/macosx-10.10.1/ruby-106/ruby/test/psych/ |
H A D | test_exception.rb | 144 ancestors = $!.class.ancestors.inspect 146 flunk "Psych::SyntaxError not rescued by StandardError: #{ancestors}"
|
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/stooop/ |
H A D | stooop.tcl | 690 # return the unsorted list of ancestors in class hierarchy: 691 _proc ::stooop::ancestors {fullClass} { 692 variable ancestors ;# use a cache for efficiency 695 if {[info exists ancestors($fullClass)]} { 696 return $ancestors($fullClass) ;# found in the cache 700 set list [concat $list [list $class] [ancestors $class]] 702 set ancestors($fullClass) $list ;# save in cache 761 if {[lsearch -exact [ancestors ::$fullName] ::$qualifiedClass]<0} {
|
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | e2mmap.rb | 154 for c in klass.ancestors
|
/macosx-10.10.1/emacs-93/emacs/lisp/mh-e/ |
H A D | mh-thread.el | 634 (do ((ancestors refs (cdr ancestors))) 635 ((null (cdr ancestors)) 636 (when (car ancestors) 638 (mh-thread-add-link (car ancestors) id))) 639 (mh-thread-add-link (car ancestors) (cadr ancestors)))))))
|
/macosx-10.10.1/ruby-106/ruby/lib/rdoc/ri/ |
H A D | driver.rb | 552 ancestors = [] 567 store.ancestors[current] 572 ancestors.concat klasses 576 ancestors.reverse 967 ancestors = classes[ancestor] 969 next unless ancestors 973 ancestors.each do |store|
|
/macosx-10.10.1/tcl-105/tcl_ext/tklib/tklib/modules/menubar/ |
H A D | tree.tcl | 244 method ancestors { child } { 248 set ancestors {} 254 lappend ancestors ${ancestor} 258 return ${ancestors} 325 return [llength [my ancestors ${name}]] 605 set alist [my ancestors ${parent}]
|
/macosx-10.10.1/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | TreeOutline.js | 316 // tree element that represents representedObject or one of its ancestors. 331 // Build up a list of representedObject's ancestors that aren't already in our tree. 332 var ancestors = []; 335 ancestors.unshift(currentObject); 341 // For each of those ancestors we populate them to fill in the tree. 342 for (var i = 0; i < ancestors.length; ++i) { 345 if (ancestors[i] === representedObject) 350 item = this.findTreeElement(ancestors[i], isAncestor, getParent);
|