Class: Class

Inherits:
Object
  • Object
show all
Defined in:
lib/parse_tree.rb

Instance Method Summary collapse

Instance Method Details

#modulesObject



19
20
21
22
# File 'lib/parse_tree.rb', line 19

def modules
  a = self.ancestors
  a[1..a.index(superclass)-1]
end