vendor/bundle/ruby/3.0.0/gems/brakeman-5.2.2/bundle/ruby/2.7.0/gems/sexp_processor-4.16.0/lib/sexp.rb
##
# If passed a line number, sets the line and returns self. Otherwise
# returns the line number. This allows you to do message cascades
# and still get the sexp back.
If passed a line number, sets the line and returns self. Otherwise
returns the line number. This allows you to do message cascades
and still get the sexp back.
If passed a line number sets the line and returns self . Otherwise returns the line number . This allows you to do message cascades and still get the sexp back .
def line n = UNASSIGNED
    if n != UNASSIGNED then
      raise ArgumentError, "setting %p.line %p" % [self, n] unless Integer === n
      @line = n
      self
    else
      @line ||= nil
    end
  end
def line n = UNASSIGNED if n != UNASSIGNED then raise ArgumentError , "setting %p.line %p" % [ self , n ] unless Integer === n @line = n self else @line ||= nil end end
If passed a line number, sets the line and returns self.
If passed a line number sets the line and returns self .
n