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/renderer.rb, line 10 def initialize(object, context) @object = object @context = context first = Attributor.humanize_context(context[0..10]) last = Attributor.humanize_context(context[-5..]) pretty_context = "#{first}...#{last}" super("SystemStackError in rendering #{object.class} with context: #{pretty_context}") end