Method: YARD::Parser::Ruby::Legacy::RubyParser#initialize

Defined in:
lib/yard/parser/ruby/legacy/ruby_parser.rb

#initialize(source, _filename) ⇒ RubyParser

Returns a new instance of RubyParser.

Since:

  • 0.5.6



9
10
11
# File 'lib/yard/parser/ruby/legacy/ruby_parser.rb', line 9

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