Sha256: 6da553112c3bf9782753588f232b0de13fc4a2b9fb12c6cb3064f83b18406cfc

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

module ThinRest
  module Representations
    class InternalError < Page
      protected
      def body_content
        h1 error.message
        ul do
          error.backtrace.split("\n").each do |line|
            li line
          end
        end
      end

      def title_text
        error.message
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pivotal-screw-unit-0.4.0 vendor/js-test-core/vendor/thin-rest/lib/thin_rest/representations/internal_error.html.rb
pivotal-screw-unit-0.4.1 vendor/js-test-core/vendor/thin-rest/lib/thin_rest/representations/internal_error.html.rb