Exception: Bookbinder::CodeExampleReader::InvalidSnippet

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bookbinder/code_example_reader.rb

Instance Method Summary collapse

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