module RuboCop::Cop::MethodPreference

Common code for cops that deal with preferred methods.