Class: Typeguard::TypeModel::Definitions::ParameterDefinition

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

Instance Attribute Summary collapse

Instance Attribute Details

#defaultObject

Returns the value of attribute default

Returns:

  • (Object)

    the current value of default



10
11
12
# File 'lib/typeguard/type_model/definitions.rb', line 10

def default
  @default
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/typeguard/type_model/definitions.rb', line 10

def name
  @name
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



10
11
12
# File 'lib/typeguard/type_model/definitions.rb', line 10

def source
  @source
end

#typesObject

Returns the value of attribute types

Returns:

  • (Object)

    the current value of types



10
11
12
# File 'lib/typeguard/type_model/definitions.rb', line 10

def types
  @types
end

#types_stringObject

Returns the value of attribute types_string

Returns:

  • (Object)

    the current value of types_string



10
11
12
# File 'lib/typeguard/type_model/definitions.rb', line 10

def types_string
  @types_string
end