Class: Doxyparser::Enum
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
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
#values ⇒ Object
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 |