Method: Rails::GraphQL::Callback#source_location

Defined in:
lib/rails/graphql/callback.rb

#source_locationObject

Get a described source location for the callback



68
69
70
71
72
# File 'lib/rails/graphql/callback.rb', line 68

def source_location
  block.is_a?(Proc) ? block.source_location : begin
    [+"(symbolized-callback/#{target.inspect})", block]
  end
end