Class: Symbol

Inherits:
Object show all
Defined in:
lib/ruby_parser/ruby_parser_extras.rb,
lib/brakeman/report.rb

Overview

HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK HACK

Instance Method Summary collapse

Instance Method Details

#is_argumentObject

TODO: phase this out



1049
1050
1051
# File 'lib/ruby_parser/ruby_parser_extras.rb', line 1049

def is_argument # TODO: phase this out
  return self == :expr_arg || self == :expr_cmdarg
end

#to_jsonObject



24
25
26
# File 'lib/brakeman/report.rb', line 24

def to_json
  self.to_s.inspect
end