class Ransack::Search
def inspect
def inspect details = [ [:class, klass.name], ([:scope, @scope_args] if @scope_args.present?), [:base, base.inspect] ] .compact .map { |d| d.join(': '.freeze) } .join(', '.freeze) "Ransack::Search<#{details}>" end
def inspect details = [ [:class, klass.name], ([:scope, @scope_args] if @scope_args.present?), [:base, base.inspect] ] .compact .map { |d| d.join(': '.freeze) } .join(', '.freeze) "Ransack::Search<#{details}>" end