Class: RuboCop::Cop::Isucon::Shell::Backtick
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Isucon::Shell::Backtick
- Defined in:
- lib/rubocop/cop/isucon/shell/backtick.rb
Overview
Avoid external command calls with backtick
Constant Summary collapse
- MSG =
"Use pure-ruby code instead of external command execution if possible"
Instance Method Summary collapse
Instance Method Details
#on_xstr(node) ⇒ Object
36 37 38 |
# File 'lib/rubocop/cop/isucon/shell/backtick.rb', line 36 def on_xstr(node) add_offense(node) end |