Method: GraphQL::Backtrace::InspectResult.inspect_truncated
- Defined in:
- lib/graphql/backtrace/inspect_result.rb
permalink .inspect_truncated(obj) ⇒ Object
[View source] [View on GitHub]
24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/graphql/backtrace/inspect_result.rb', line 24 def inspect_truncated(obj) case obj when Hash "{...}" when Array "[...]" when GraphQL::Execution::Lazy "(unresolved)" else "#{obj.inspect}" end end |