Class: Rucoa::Types::MethodType
- Inherits:
-
Object
- Object
- Rucoa::Types::MethodType
- Defined in:
- lib/rucoa/types/method_type.rb
Instance Attribute Summary collapse
- #parameters_string ⇒ String readonly
- #return_type ⇒ String readonly
Instance Method Summary collapse
-
#initialize(parameters_string:, return_type:) ⇒ MethodType
constructor
A new instance of MethodType.
Constructor Details
#initialize(parameters_string:, return_type:) ⇒ MethodType
Returns a new instance of MethodType.
14 15 16 17 18 19 20 |
# File 'lib/rucoa/types/method_type.rb', line 14 def initialize( parameters_string:, return_type: ) @parameters_string = parameters_string @return_type = return_type end |
Instance Attribute Details
#parameters_string ⇒ String (readonly)
7 8 9 |
# File 'lib/rucoa/types/method_type.rb', line 7 def parameters_string @parameters_string end |
#return_type ⇒ String (readonly)
10 11 12 |
# File 'lib/rucoa/types/method_type.rb', line 10 def return_type @return_type end |