Class: Xumlidot::Types::KlassDefinition::Name
- Inherits:
-
Array
- Object
- Array
- Xumlidot::Types::KlassDefinition::Name
- Defined in:
- lib/xumlidot/types/klass_definition.rb
Overview
TODO: I think the name could be a constant rather than an array of constants
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
20 21 22 23 |
# File 'lib/xumlidot/types/klass_definition.rb', line 20 def ==(other) namespace == other.namespace && name == other.name end |
#name ⇒ Object
12 13 14 |
# File 'lib/xumlidot/types/klass_definition.rb', line 12 def name map(&:name).flatten end |
#namespace ⇒ Object
16 17 18 |
# File 'lib/xumlidot/types/klass_definition.rb', line 16 def namespace map(&:namespace).flatten end |