Class: Solargraph::RbsMap::CoreSigns::Stub

Inherits:
Object
  • Object
show all
Defined in:
lib/solargraph/rbs_map/core_signs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(parameters, return_type) ⇒ Stub

Returns a new instance of Stub.



11
12
13
14
# File 'lib/solargraph/rbs_map/core_signs.rb', line 11

def initialize parameters, return_type
  @parameters = parameters
  @return_type = return_type
end

Instance Attribute Details

#parametersObject (readonly)

Returns the value of attribute parameters.



7
8
9
# File 'lib/solargraph/rbs_map/core_signs.rb', line 7

def parameters
  @parameters
end

#return_typeObject (readonly)

Returns the value of attribute return_type.



9
10
11
# File 'lib/solargraph/rbs_map/core_signs.rb', line 9

def return_type
  @return_type
end