class RailsBestPractices::Reviews::UseBeforeFilterReview
def initialize(options = {})
def initialize(options = {}) super() @customize_count = options['customize_count'] || 2 end
def remember_first_sentence(node)
def remember_first_sentence(node) first_sentence = node.body.statements.first return unless first_sentence first_sentence = first_sentence.remove_line_and_column unless first_sentence == s(:nil) @first_sentences[first_sentence] ||= [] @first_sentences[first_sentence] << node end end