class Nlg::Extractors::NoIdeaWhatThisIsError

Raised when something unexpected or in wrong format is parsed.

Attributes

nlg_id[R]
the_unexpected[R]

Public Class Methods

new(nlg_id, the_unexpected) click to toggle source
Calls superclass method
# File lib/bookshark/extractors/nlg/base.rb, line 100
def initialize(nlg_id, the_unexpected)
  @nlg_id = nlg_id
  @the_unexpected = the_unexpected

  msg = "We have no idea what this: #{the_unexpected} is. At book #{nlg_id}"
  super(msg)
end