Class: RBS::Inline::AST::Annotations::Override

Inherits:
Base
  • Object
show all
Defined in:
lib/rbs/inline/ast/annotations.rb

Overview

‘# @rbs override`

Specify the method types as ‘…` (overriding super class method)

Instance Attribute Summary

Attributes inherited from Base

#source, #tree

Instance Method Summary collapse

Constructor Details

#initialize(tree, source) ⇒ Override

Returns a new instance of Override.



452
453
454
455
# File 'lib/rbs/inline/ast/annotations.rb', line 452

def initialize(tree, source)
  @tree = tree
  @source = source
end