Class: RBI::Parser::Visitor
- Inherits:
-
Prism::Visitor
- Object
- Prism::Visitor
- RBI::Parser::Visitor
- Extended by:
- T::Sig
- Defined in:
- lib/rbi/parser.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(source, file:) ⇒ Visitor
constructor
A new instance of Visitor.
Constructor Details
#initialize(source, file:) ⇒ Visitor
Returns a new instance of Visitor.
126 127 128 129 130 131 |
# File 'lib/rbi/parser.rb', line 126 def initialize(source, file:) super() @source = source @file = file end |