Sha256: 72f3c9994af9ff3b301f05789ea20bd68b8642da86423b57cbe688fb5fccd3bc

Contents?: true

Size: 181 Bytes

Versions: 1

Compression:

Stored size: 181 Bytes

Contents

module OSHA::Rule
  class Eval < Rule
    def run(sexp)
      if sexp.sexp_type == :call && sexp[2] == :eval
        create_warning("Use of eval", sexp)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
OSHA-0.0.1 lib/osha/rule/eval.rb