Class: RBS::AST::Members::MethodDefinition::MethodOverloadShim

Inherits:
Object
  • Object
show all
Defined in:
lib/syntax_tree/rbs/shims.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeObject (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