Class: Typeguard::TypeModel::Definitions::ModuleDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/typeguard/type_model/definitions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#childrenObject

Returns the value of attribute children

Returns:

  • (Object)

    the current value of children



7
8
9
# File 'lib/typeguard/type_model/definitions.rb', line 7

def children
  @children
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/typeguard/type_model/definitions.rb', line 7

def name
  @name
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



7
8
9
# File 'lib/typeguard/type_model/definitions.rb', line 7

def source
  @source
end

#type_parametersObject

Returns the value of attribute type_parameters

Returns:

  • (Object)

    the current value of type_parameters



7
8
9
# File 'lib/typeguard/type_model/definitions.rb', line 7

def type_parameters
  @type_parameters
end

#varsObject

Returns the value of attribute vars

Returns:

  • (Object)

    the current value of vars



7
8
9
# File 'lib/typeguard/type_model/definitions.rb', line 7

def vars
  @vars
end