RuboCop::Cop
This cop checks for non-ascii characters in indentifier names.
# File lib/rubocop/cop/style/ascii_identifiers.rb, line 9 def investigate(processed_source) processed_source.tokens.each do |t| next unless t.type == :tIDENTIFIER && !t.text.ascii_only? add_offense(nil, t.pos) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.