RuboCop::Cop
This cop checks for non-ascii (non-English) characters in comments.
# File lib/rubocop/cop/style/ascii_comments.rb, line 10 def investigate(processed_source) processed_source.comments.each do |comment| add_offense(comment, :expression) unless comment.text.ascii_only? end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.