Class: Typeguard::TypeModel::Definitions::VarDefinition

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

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



12
13
14
# File 'lib/typeguard/type_model/definitions.rb', line 12

def name
  @name
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



12
13
14
# File 'lib/typeguard/type_model/definitions.rb', line 12

def scope
  @scope
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



12
13
14
# File 'lib/typeguard/type_model/definitions.rb', line 12

def source
  @source
end

#typesObject

Returns the value of attribute types

Returns:

  • (Object)

    the current value of types



12
13
14
# File 'lib/typeguard/type_model/definitions.rb', line 12

def types
  @types
end

#types_stringObject

Returns the value of attribute types_string

Returns:

  • (Object)

    the current value of types_string



12
13
14
# File 'lib/typeguard/type_model/definitions.rb', line 12

def types_string
  @types_string
end