Class: Xumlidot::Types::InheritedModule

Inherits:
Superklass show all
Defined in:
lib/xumlidot/types/inherited_module.rb

Instance Attribute Summary collapse

Attributes inherited from Constant

#name, #namespace, #reference

Instance Method Summary collapse

Methods inherited from Superklass

#<<, #to_klass

Methods inherited from Constant

#empty?, #to_s

Constructor Details

#initialize(name, namespace = nil) ⇒ InheritedModule

Returns a new instance of InheritedModule.



10
11
12
13
14
# File 'lib/xumlidot/types/inherited_module.rb', line 10

def initialize(name, namespace = nil)
  super
  @has_root = false
  @type = nil
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



8
9
10
# File 'lib/xumlidot/types/inherited_module.rb', line 8

def type
  @type
end