raise more descriptive error if a widget is missing #render

pull/6827/head
jwollert 14 years ago
parent 8687541d9f
commit beaef00f6e
  1. 2
      lib/widget/base.rb

@ -7,7 +7,7 @@ class Widget::Base < Widget
end
def render
raise NotImplementedError, "#render is missing in my subclass"
raise NotImplementedError, "#render is missing in my subclass #{self.class}"
end
def render_with_options(options = {}, &block)

Loading…
Cancel
Save