Sha256: 657355aba7d54b0a5f863ac5fa6b22908dfe700ddc1e771977b99ed47e44fc19

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

module ThinRest
  module Representations
    class InternalError < Page
      needs :error
      protected
      def body_content
        h1 error.message
        ul do
          error.backtrace.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.2 vendor/js-test-core/vendor/thin-rest/lib/thin_rest/representations/internal_error.html.rb
pivotal-screw-unit-0.4.3 vendor/js-test-core/vendor/thin-rest/lib/thin_rest/representations/internal_error.html.rb