Class: RuboCop::Cop::SketchupDeprecations::RequireAll
- Inherits:
-
SketchUp::Cop
- Object
- SketchUp::WorkaroundCop
- SketchUp::Cop
- RuboCop::Cop::SketchupDeprecations::RequireAll
- Defined in:
- lib/rubocop/sketchup/cop/deprecations/require_all.rb
Constant Summary collapse
- MSG =
'Method is deprecated because it adds the given path to $LOAD_PATH.'.freeze
Constants included from SketchUp::Config
SketchUp::Config::DEFAULT_CONFIGURATION
Instance Method Summary collapse
Methods inherited from SketchUp::Cop
Instance Method Details
#on_send(node) ⇒ Object
14 15 16 17 |
# File 'lib/rubocop/sketchup/cop/deprecations/require_all.rb', line 14 def on_send(node) return unless require_all?(node) add_offense(node, location: :expression) end |