Class: RBS::AST::Members::MethodDefinition::MethodOverloadShim
- Inherits:
-
Object
- Object
- RBS::AST::Members::MethodDefinition::MethodOverloadShim
- Defined in:
- lib/syntax_tree/rbs/shims.rb
Instance Attribute Summary collapse
-
#method_type ⇒ Object
readonly
Returns the value of attribute method_type.
Instance Method Summary collapse
-
#initialize(method_type) ⇒ MethodOverloadShim
constructor
A new instance of MethodOverloadShim.
Constructor Details
#initialize(method_type) ⇒ MethodOverloadShim
Returns a new instance of MethodOverloadShim.
58 59 60 |
# File 'lib/syntax_tree/rbs/shims.rb', line 58 def initialize(method_type) @method_type = method_type end |
Instance Attribute Details
#method_type ⇒ Object (readonly)
Returns the value of attribute method_type.
56 57 58 |
# File 'lib/syntax_tree/rbs/shims.rb', line 56 def method_type @method_type end |