class Cruml::Entities::MethodInfo
- Cruml::Entities::MethodInfo
- Reference
- Object
Overview
This consists of obtaining information about the reflected methods in a class.
Defined in:
entities/method_info.crConstructors
-
.new(scope : Symbol, name : String, return_type : String)
The scope, name and return type of a method must be passed as parameters.
Instance Method Summary
-
#name : String
Name of a method.
-
#return_type : String
Return type of a method.
-
#scope : Symbol
Scope of a method.
Constructor Detail
def self.new(scope : Symbol, name : String, return_type : String)
#
The scope, name and return type of a method must be passed as parameters.
INFO: The special initialize
method will be placed at the first element of the list.
Cruml::Entities::MethodInfo.new(:public, "major?", "Bool")