Class: RBS::Inline::AST::Annotations::Override
- 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
Instance Method Summary collapse
-
#initialize(tree, source) ⇒ Override
constructor
A new instance of Override.
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 |