module Roda::RodaPlugins::Base::ResponseClassMethods

  1. lib/roda/response.rb

Class methods for RodaResponse


Public Instance

  1. inspect
  2. roda_class


roda_class [RW]

Reference to the Roda class related to this response class.

Public Instance methods


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.

[show source]
   # File lib/roda/response.rb
42 def inspect
43   "#{roda_class.inspect}::RodaResponse"
44 end