class Motion::BlockNotAllowedError

Public Class Methods

new(component) click to toggle source
Calls superclass method Motion::ComponentError::new
# File lib/motion/errors.rb, line 37
def initialize(component)
  super(
    component,
    "Motion does not support rendering with a block.\n" \
    "\n" \
    "Hint: Try wrapping a plain component with a motion component."
  )
end