class RuboCop::Cop::Style::FileNull
def acceptable?(node)
def acceptable?(node) # Using a hardcoded null device is acceptable when inside an array or # inside a hash to ensure behavior doesn't change. return false unless node.parent node.parent.type?(:array, :pair) end