RuboCop::Cop
This cop checks for inline comments.
# File lib/rubocop/cop/style/inline_comment.rb, line 9 def investigate(processed_source) processed_source.comments.each do |comment| next unless comment.inline? add_offense(comment, :expression) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.