RuboCop::Cop
This cop checks for usage of the %x() syntax when " would do.
# File lib/rubocop/cop/style/unneeded_percent_x.rb, line 9 def on_xstr(node) add_offense(node, :expression) if node.loc.expression.source !~ /`/ end
[Validate]
Generated with the Darkfish Rdoc Generator 2.