Exception: Bookbinder::CodeExampleReader::InvalidSnippet
- Inherits:
-
StandardError
- Object
- StandardError
- Bookbinder::CodeExampleReader::InvalidSnippet
- Defined in:
- lib/bookbinder/code_example_reader.rb
Instance Method Summary collapse
-
#initialize(repo, marker) ⇒ InvalidSnippet
constructor
A new instance of InvalidSnippet.
Constructor Details
#initialize(repo, marker) ⇒ InvalidSnippet
Returns a new instance of InvalidSnippet.
6 7 8 |
# File 'lib/bookbinder/code_example_reader.rb', line 6 def initialize(repo, marker) super "Error with marker #{marker.cyan} #{'in'.red} #{repo.cyan}#{'.'.red}" end |