Sha256: 1ad010b68ce23a221710b8a0d8108c99b861f972aceb30369a99aa5b35d20864
Contents?: true
Size: 313 Bytes
Versions: 5
Compression:
Stored size: 313 Bytes
Contents
# encoding: utf-8 module Rubocop module Cop module Style # This cop checks for END blocks. class EndBlock < Cop MSG = 'Avoid the use of END blocks. Use `Kernel#at_exit` instead.' def on_postexe(node) convention(node, :keyword) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems