Method: Docurium::CParser#parse_enum
- Defined in:
- lib/docurium/cparser.rb
#parse_enum(d) ⇒ Object
Process enum definitions
128 129 130 131 132 133 134 135 |
# File 'lib/docurium/cparser.rb', line 128 def parse_enum(d) if d[:decl].respond_to? :map d[:block] = d[:decl].map { |v| v.strip }.join("\n") else d[:block] = d[:decl] end d[:comments] = d[:rawComments].strip end |