Method: YardTypes::Parser#initialize
- Defined in:
- lib/yard_types/parser.rb
#initialize(string) ⇒ Parser
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Parser.
30 31 32 |
# File 'lib/yard_types/parser.rb', line 30 def initialize(string) @scanner = StringScanner.new(string) end |