Class: Solargraph::RbsMap::CoreSigns::Stub
- Inherits:
-
Object
- Object
- Solargraph::RbsMap::CoreSigns::Stub
- Defined in:
- lib/solargraph/rbs_map/core_signs.rb
Instance Attribute Summary collapse
-
#parameters ⇒ Object
readonly
Returns the value of attribute parameters.
-
#return_type ⇒ Object
readonly
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#initialize(parameters, return_type) ⇒ Stub
constructor
A new instance of Stub.
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
#parameters ⇒ Object (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_type ⇒ Object (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 |