Class: Doxyparser::Enum

Inherits:
Member show all
Defined in:
lib/nodes/enum.rb

Instance Attribute Summary

Attributes inherited from Member

#args, #definition, #location, #params, #static, #type

Attributes inherited from Node

#basename, #dir, #doc, #name, #node, #parent

Instance Method Summary collapse

Methods inherited from Member

#file

Methods inherited from Node

#==, #eql?, #initialize, #to_s, #to_str

Methods included from Util

#del_prefix, #del_spaces, #do_filter, #escape_class_name, #escape_file_name, home_dir, #match, read_file, write_file

Constructor Details

This class inherits a constructor from Doxyparser::Node

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Doxyparser::Node

Instance Method Details

#valuesObject



5
6
7
8
9
# File 'lib/nodes/enum.rb', line 5

def values
	ret=[]
	xpath("enumvalue/name").each { |v| ret << v.child.content }
	ret
end