module Roda::RodaPlugins::Base::ResponseClassMethods

Class methods for RodaResponse

Attributes

roda_class[RW]

Reference to the Roda class related to this response class.

Public Instance Methods

inspect() click to toggle source

Since RodaResponse is anonymously subclassed when Roda is subclassed, and then assigned to a constant of the Roda subclass, make inspect reflect the likely name for the class.

# File lib/roda.rb, line 870
def inspect
  "#{roda_class.inspect}::RodaResponse"
end