Exception: Headown::NotMarkdownError
- Inherits:
-
StandardError
- Object
- StandardError
- Headown::NotMarkdownError
- Defined in:
- lib/headown.rb
Instance Method Summary collapse
-
#initialize(file_path:) ⇒ NotMarkdownError
constructor
A new instance of NotMarkdownError.
Constructor Details
#initialize(file_path:) ⇒ NotMarkdownError
Returns a new instance of NotMarkdownError.
7 8 9 10 |
# File 'lib/headown.rb', line 7 def initialize(file_path:) msg = "#{file_path} is not a Markdown file." super(msg) end |