Method: Super::Error::NothingToRender#initialize
- Defined in:
- lib/super/error.rb
#initialize(basename) ⇒ NothingToRender
Returns a new instance of NothingToRender.
20 21 22 23 24 25 |
# File 'lib/super/error.rb', line 20 def initialize(basename) super( "Super's built-in `#{basename}.html.erb` requires `@view` to be set " \ "by the controller, but it wasn't set" ) end |