Module: Packwerk::Parsers::ParserInterface

Included in:
Erb, Ruby
Defined in:
lib/packwerk/parsers/parser_interface.rb

Overview

@requires_ancestor: Kernel

Instance Method Summary collapse

Instance Method Details

#call(io:, file_path:) ⇒ Object

This method is abstract.

: (io: (IO | StringIO), file_path: String) -> untyped

Raises:

  • (NotImplementedError)


11
# File 'lib/packwerk/parsers/parser_interface.rb', line 11

def call(io:, file_path:) = raise NotImplementedError, "Abstract method called"