Exception: SitePrism::UnsupportedBlockError

Inherits:
SitePrismError
  • Object
show all
Defined in:
lib/site_prism/error.rb

Overview

A Block was passed to the method, which it cannot interpret

Instance Method Summary collapse

Instance Method Details

#messageObject



51
52
53
54
55
# File 'lib/site_prism/error.rb', line 51

def message
  warn 'section and iframe are the only items which can accept a block.'

  "#{super} does not accept blocks."
end