class Praxis::Renderer::CircularRenderingError

Attributes

context[R]
object[R]

Public Class Methods

new(object, context) click to toggle source
Calls superclass method
# File lib/praxis-blueprints/renderer.rb, line 11
def initialize(object, context)
  @object = object
  @context = context

  first = Attributor.humanize_context(context[0..10])
  last = Attributor.humanize_context(context[-5..-1])
  pretty_context = "#{first}...#{last}"
  super("SystemStackError in rendering #{object.class} with context: #{pretty_context}")
end