Class: Typeguard::TypeModel::Definitions::ClassDefinition

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



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

def children
  @children
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#parentObject

Returns the value of attribute parent

Returns:

  • (Object)

    the current value of parent



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

def parent
  @parent
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



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

def source
  @source
end

#type_parametersObject

Returns the value of attribute type_parameters

Returns:

  • (Object)

    the current value of type_parameters



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

def type_parameters
  @type_parameters
end

#varsObject

Returns the value of attribute vars

Returns:

  • (Object)

    the current value of vars



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

def vars
  @vars
end