Class: Symbol
- 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
-
#is_argument ⇒ Object
TODO: phase this out.
- #to_json ⇒ Object
Instance Method Details
#is_argument ⇒ Object
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_json ⇒ Object
24 25 26 |
# File 'lib/brakeman/report.rb', line 24 def to_json self.to_s.inspect end |