Class: Typeguard::TypeModel::Definitions::MethodDefinition

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



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

def name
  @name
end

#parametersObject

Returns the value of attribute parameters

Returns:

  • (Object)

    the current value of parameters



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

def parameters
  @parameters
end

#returnsObject

Returns the value of attribute returns

Returns:

  • (Object)

    the current value of returns



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

def returns
  @returns
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



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

def scope
  @scope
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



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

def source
  @source
end

#visibilityObject

Returns the value of attribute visibility

Returns:

  • (Object)

    the current value of visibility



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

def visibility
  @visibility
end